31#include "moo_spectral_format.h"
32#include "moo_ext_single.h"
33#include "moo_detector.h"
40 cpl_propertylist *primary_header;
41 moo_ext_single *ri[2];
42 moo_ext_single *yj[2];
44 cpl_table *fibre_table;
52cpl_error_code
moo_ext_load(moo_ext *self,
unsigned int level);
74cpl_error_code
moo_ext_dump(
const moo_ext *self, FILE *stream);
77cpl_error_code
moo_ext_sum(moo_ext *self, moo_ext *ext);
80 moo_spectral_format *sformat,
81 moo_sky_lines_list *skylines);
cpl_error_code moo_ext_free_single(moo_ext *self, moo_detector_type type, int num)
Free the given type part in EXT.
enum _moo_detector_type_ moo_detector_type
The type code type.
moo_ext_single * moo_ext_get_single(moo_ext *self, moo_detector_type type, int num)
Get a EXT single from EXT.
moo_ext * moo_ext_new(void)
Create a new moo_ext.
cpl_error_code moo_ext_add_fibre_table(moo_ext *self, cpl_table *fibre_table)
Add fibre table to EXT filename and update moo_ext structure.
cpl_error_code moo_ext_set_single(moo_ext *self, moo_detector_type type, int ntas, moo_ext_single *s)
assign moo_ext_single structure in moo_ext structure
cpl_error_code moo_ext_add_single(moo_ext *self, moo_ext_single *s, moo_detector_type type, int ntas)
Add EXT_SINGLE extension to EXT filename and update moo_ext structure.
moo_ext_single * moo_ext_load_single(moo_ext *self, moo_detector_type type, int num, unsigned int level)
Load the type part in EXT and return it.
cpl_error_code moo_ext_load(moo_ext *self, unsigned int level)
Load all parts in EXT.
moo_ext * moo_ext_create(const cpl_frame *frame)
Create a new empty EXT filename.
cpl_error_code moo_ext_sum(moo_ext *self, moo_ext *ext)
Sum EXT structure.
cpl_table * moo_ext_get_fibre_table(moo_ext *self)
Get the FIBRE TABLE in EXT.
cpl_error_code moo_ext_dump(const moo_ext *self, FILE *stream)
Dump structural information of EXT.
void moo_ext_save(moo_ext *self, const char *filename)
Save a moo_ext to a FITS file.
void moo_ext_delete(moo_ext *self)
Delete a moo_ext.
cpl_error_code moo_ext_compute_snr(moo_ext *self, moo_map *wmap, moo_spectral_format *sformat, moo_sky_lines_list *skylines)
Compute SNR for all fibres EXT.