Astro::Correlate::Method::FINDOFF - Correlation using Starlink FINDOFF.


Astro-Correlate documentation  | view source Contained in the Astro-Correlate distribution.

Index


NAME

Top

Astro::Correlate::Method::FINDOFF - Correlation using Starlink FINDOFF.

SYNOPSIS

Top

  ( $corrcat1, $corrcat2 ) = Astro::Correlate::Method::FINDOFF->correlate( catalog1 => $cat1, catalog2 => $cat2 );

DESCRIPTION

Top

This class implements catalogue cross-correlation using Starlink's FINDOFF application.

METHODS

Top

General Methods

correlate

Cross-correlates two catalogues.

  ( $corrcat1, $corrcat2 ) = Astro::Correlate::Method::FINDOFF->correlate( catalog1 => $cat1,
                                                                           catalog2 => $cat2 );

This method takes two mandatory arguments, both Astro::Catalog objects. It returns two Astro::Catalog objects containing Astro::Catalog::Star objects that matched spatially between the two input catalogues. The first returned catalogue contains matched objects from the first input catalogue, and ditto for the second. The Astro::Catalog::Star objects in the returned catalogues are not in the original order, nor do they have the same IDs as in the input catalogues. A matched object has the same ID in the two returned catalogues, allowing for further comparisons between matched objects.

This method takes the following optional named arguments:

keeptemps - If this argument is set to true (1), then this method will keep temporary files used in processing. Defaults to false.
messages - If set to true (1), then this method will print messages from the FINDOFF task during processing. Defaults to false.
temp - Set the directory to hold temporary files. If not set, then a new temporary directory will be created using File::Temp.
timeout - Set the time in seconds to wait for the CCDPACK monolith to time out. Defaults to 60 seconds.
verbose - If this argument is set to true (1), then this method will print progress statements. Defaults to false.

This method uses the Starlink FINDOFF task, which is part of CCDPACK. In order for this method to work it must be able to find FINDOFF. It first looks in the directory pointed to by the CCDPACK_DIR environment variable, then it looks in the Starlink binary files directory pointed to by the Starlink::Config module, with /ccdpack appended. If either of these fail, then this method will croak. See the Starlink::Config module for information on overriding the base Starlink directory for non-standard installations.

SEE ALSO

Top

Astro::Correlate, Starlink::Config

Starlink User Note 139.

REVISION

Top

$Id$

AUTHORS

Top

Brad Cavanagh <brad.cavanagh@gmail.com>

COPYRIGHT

Top


Astro-Correlate documentation  | view source Contained in the Astro-Correlate distribution.