Package wsatools :: Module pairing
[hide private]

Module pairing

Source detection pairing across passbands (C++ module with Python bindings).

Functions [hide private]
int
merge(...)
Create a single merge table from pointer files.
 
multiPair(...)
Create all pair pointer combinations for a list of input lists.
 
pairOff(...)
Create pair pointers for two input lists.
Variables [hide private]
  __package__ = None
hash(x)
Function Details [hide private]

merge(...)

 

Create a single merge table from pointer files.

Parameters:
  • inputlist (list(int)) - Numerical list from zero to number of passbands.
  • workPath (str) - Path to write merge table file.
  • out (str) - Name of merge table file to output.
Returns: int
Number of detections merged.

multiPair(...)

 

Create all pair pointer combinations for a list of input lists. Writes pointers to a set of files.

Parameters:
  • inputlist (list(tuple(str, tuple(int, int, str), tuple(int, int, str), int))) - List of detection table binary files for each passband. Format (fileName, RA Attribute: (offset, size, units), Dec Attribute: (offset, size, units), rowSize)
  • radius (float) - Pairing radius.
  • out (str) - Path to read table and write pair pointer files.

pairOff(...)

 

Create pair pointers for two input lists.

Parameters:
  • input1 (list(tuple(str, tuple(int, int, str), tuple(int, int, str), int))) - List of detection table binary files for each passband. Format (fileName, RA Attribute: (offset, size, units), Dec Attribute: (offset, size, units), rowSize)
  • input2 (list(tuple(str, tuple(int, int, str), tuple(int, int, str), int))) - List of detection table binary files for each passband. Format (fileName, RA Attribute: (offset, size, units), Dec Attribute: (offset, size, units), rowSize)
  • output1 (str) - Output pointer file.
  • radius (float) - Pairing radius.