mergeDetections(mergeTablePathName,
resultsPathName,
sourceTableName,
schemaFile,
cameoSchemas,
epochs,
pixScales,
cuEventID,
firstID,
frameSetID,
extractor=' CASU ' ,
frameSetIDName=' frameSetID ' ,
sourceIDName=' sourceID ' ,
centralPos=None,
minEpochSep=None)
| source code
|
Wrapper function to mkmerge. The C++ program that merges detections
into a source table stored in a binary file for ingest into the
database.
- Parameters:
mergeTablePathName (str) - Name of the "merge table" pointers file created by the
"pairing" C code.
resultsPathName (str) - Full path to output binary file containing the accumulated merged
sources.
sourceTableName (str) - Name of source table where results are ingest.
schemaFile (str) - Name of .sql script file describing the schema for this
programme.
cameoSchemas (list(str)) - A list of cameo schema files for each passband. Ordered by
filterID.
epochs (list(float)) - A list of epochs for each passband's frame. The passband order
should be identical to that of the cameoSchemas.
pixScales (list(float)) - A list of pixel scales for each passband's frame. The passband
order should be identical to that of the cameoSchemas.
cuEventID (int) - Curation use case event ID.
firstID (int) - The UID to assign to the first new source.
frameSetID (int) - The unique identifier of the frame set.
extractor (str) - Name of source catalogue extraction tool used to create these
detections (same format as extractTool parameter in RequiredStack
table).
frameSetIDName (str) - Name of the column in the source table that identifies the unique
ID of the frame set for the source.
sourceIDName (str) - Name of the column in the source table for the unique source ID.
centralPos (tuple(float, float)) - If proper motion is to be calculated need frame set centre
co-ordinates.
minEpochSep (float) - If proper motion is to be calculated need to know what the
minimum epoch separation criterion is in days.
|