#include "dataio.h"
#include "match.h"
#include "merge.h"
#include "quicksort.h"
#include "datatypes.h"
#include <Python.h>
Functions | |
void | initpairing (void) |
This initialises the module and all its member functions. | |
static PyObject * | multiPair (PyObject *self, PyObject *args, PyObject *kwds) |
static PyObject * | pairOff (PyObject *self, PyObject *args, PyObject *kwds) |
static PyObject * | merge (PyObject *self, PyObject *args, PyObject *kwds) |
int | prepare_detections_list (PyObject *input, CartesianSet **cart, IndexedList **dec) |
Reads in a list of detections specified by the Python arguments. | |
void | create_pointer_files (CartesianSet cart1[], IndexedList dec1[], int nrec1, CartesianSet cart2[], IndexedList dec2[], int nrec2, double matchradius, char *outfile1, char *outfile2) |
Performs source association between detection lists, creating pointer files. |
void create_pointer_files | ( | CartesianSet | cart1[], | |
IndexedList | dec1[], | |||
int | nrec1, | |||
CartesianSet | cart2[], | |||
IndexedList | dec2[], | |||
int | nrec2, | |||
double | matchradius, | |||
char * | outfile1, | |||
char * | outfile2 | |||
) |
Performs source association between detection lists, creating pointer files.
cart1 | First list of detection cartesian coordinates | |
dec1 | First list of detection declinations | |
nrec1 | Number of records in first list of detections | |
cart2 | Second list of detection cartesian coordinates | |
dec2 | Second list of detection declinations | |
nrec2 | Number of records in second list of detections | |
matchradius | Search radius for source association | |
outfile1 | File name for output of forward-matches pointer file | |
outfile2 | File name for output of reverse-matches pointer file |
References handshake(), matchpairs(), timestamp(), and write_pointers().
Referenced by multiPair(), and pairOff().
void initpairing | ( | void | ) |
This initialises the module and all its member functions.
References merge(), multiPair(), and pairOff().
static PyObject* merge | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
References create_merge_table().
Referenced by initpairing().
static PyObject* multiPair | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
References create_pointer_files(), makeoutname(), prepare_detections_list(), and timestamp().
Referenced by initpairing().
static PyObject* pairOff | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwds | |||
) | [static] |
References create_pointer_files(), prepare_detections_list(), and timestamp().
Referenced by initpairing().
int prepare_detections_list | ( | PyObject * | input, | |
CartesianSet ** | cart, | |||
IndexedList ** | dec | |||
) |
Reads in a list of detections specified by the Python arguments.
input | Python argument list |
cart | List of detection cartesian coordinates | |
dec | List of detection declinations |
References count_records(), get_recinfo(), gobble(), and quicksort().
Referenced by multiPair(), and pairOff().