30#include "moo_loc_single.h"
31#include "moo_detector.h"
38 cpl_propertylist *primary_header;
39 moo_loc_single *ri[2];
40 moo_loc_single *yj[2];
42 cpl_table *fibre_table;
45#define MOO_LOC_CRPIX1 1
46#define MOO_LOC_CRVAL1 1
47#define MOO_LOC_CD1_1 1.
48#define MOO_LOC_CTYPE1 "PIXELS"
49#define MOO_LOC_CRPIX2 1
50#define MOO_LOC_CRVAL2 1
51#define MOO_LOC_C2_2 1.
52#define MOO_LOC_CTYPE2 "INDEX"
53#define MOO_LOC_BUNIT "pixels"
77void moo_loc_save(moo_loc *self,
const char *filename,
int keep_points);
78cpl_error_code
moo_loc_dump(
const moo_loc *self, FILE *stream);
enum _moo_detector_type_ moo_detector_type
The type code type.
moo_loc * moo_loc_create(const char *filename)
Create a new empty LOC filename.
moo_loc_single * moo_loc_get_single(moo_loc *self, moo_detector_type type, int num)
Get the type part in LOC and return it.
cpl_error_code moo_loc_add_fibre_table(moo_loc *self, cpl_table *fibre_table)
Add fibre table to LOC filename and update moo_loc structure.
moo_loc * moo_loc_new(void)
Create a new moo_loc.
cpl_error_code moo_loc_set_single(moo_loc *self, moo_detector_type type, int ntas, moo_loc_single *s)
assign moo_loc_single structure in moo_loc structure
moo_loc * moo_loc_load(const cpl_frame *locframe)
Load a LOC frame and create a moo_loc.
cpl_error_code moo_loc_add_single(moo_loc *self, moo_loc_single *s, moo_detector_type type, int ntas, int keep_points)
Add LOC_SINGLE extension to LOC filename and update moo_loc structure.
cpl_error_code moo_loc_dump(const moo_loc *self, FILE *stream)
Dump structural information of LOC.
cpl_table * moo_loc_get_fibre_table(moo_loc *self)
Get the FIBRE TABLE in LOC.
void moo_loc_save(moo_loc *self, const char *filename, int keep_points)
Save a moo_loc to a FITS file.
void moo_loc_delete(moo_loc *self)
Delete a moo_loc.