30#include "moo_sci_single.h"
31#include "moo_detector.h"
32#include "moo_sky_lines_list.h"
33#include "moo_params.h"
34#include "moo_target_table.h"
41 cpl_propertylist *primary_header;
60cpl_error_code moo_sci_load(moo_sci *self,
unsigned int level);
enum _moo_detector_type_ moo_detector_type
The type code type.
cpl_error_code moo_sci_set_single(moo_sci *self, moo_sci_single *s)
assign moo_sci_single structure in moo_sci structure
cpl_error_code moo_sci_add_target_table(moo_sci *self, moo_target_table *fibre_table)
Add target table to SCI file and update moo_sci structure.
moo_sci_single * moo_sci_load_single(moo_sci *self, moo_detector_type type, int level)
Load the type part in SCI and return it.
void moo_sci_delete(moo_sci *self)
Delete a moo_sci.
moo_sci * moo_sci_new(void)
Create a new moo_sci.
moo_sci * moo_sci_create(const cpl_frame *frame)
Create a new empty SCI filename.
cpl_error_code moo_sci_add_single(moo_sci *self, moo_detector_type type, moo_sci_single *s)
Add SCI_SINGLE extension to SCI file and update moo_sci structure.
moo_sci_single * moo_sci_get_single(moo_sci *self, moo_detector_type type)
Get the type part in SCI and return it.
void moo_sci_save(moo_sci *self, const char *filename)
Save a moo_sci to a FITS file.
moo_target_table * moo_sci_get_target_table(moo_sci *sci)
Get the target table of SCI file.
cpl_error_code moo_sci_compute_snr(moo_sci *self, moo_sky_lines_list *skylines)
Compute SNR for all targets in SCI.
the different type of detectors