30#include "moo_rbn_single.h"
31#include "moo_detector.h"
38 cpl_propertylist *primary_header;
42 cpl_table *fibre_table;
63cpl_error_code
moo_rbn_dump(
const moo_rbn *self, FILE *stream);
enum _moo_detector_type_ moo_detector_type
The type code type.
moo_rbn_single * moo_rbn_load_single(moo_rbn *self, moo_detector_type type, unsigned int level)
Load the type part in RBN and return it.
cpl_error_code moo_rbn_set_single(moo_rbn *self, moo_rbn_single *s)
assign moo_rbn_single structure in moo_rbn structure
void moo_rbn_delete(moo_rbn *self)
Delete a moo_rbn.
void moo_rbn_save(moo_rbn *self, const char *filename)
Save a moo_rbn to a FITS file.
cpl_propertylist * moo_rbn_get_primary_header(moo_rbn *self)
Get the PRIMARY HEADER in RBN.
moo_rbn_single * moo_rbn_get_single(moo_rbn *self, moo_detector_type type)
Get a RBN single from RBN.
cpl_error_code moo_rbn_dump(const moo_rbn *self, FILE *stream)
Dump structural information of RBN.
moo_rbn * moo_rbn_create(const cpl_frame *frame)
Create a new empty RBN filename.
cpl_error_code moo_rbn_add_single(moo_rbn *self, moo_detector_type type, moo_rbn_single *s)
Add RBN_SINGLE extension to RBN filename and update moo_rbn structure.
cpl_error_code moo_rbn_add_fibre_table(moo_rbn *self, cpl_table *fibre_table)
Add fibre table to RBN filename and update moo_rbn structure.
cpl_error_code moo_rbn_compute_snr(moo_rbn *self, moo_sky_lines_list *skylines)
Compute SNR for targets in RBN.
cpl_table * moo_rbn_get_fibre_table(moo_rbn *self)
Get the FIBRE TABLE in RBN.
moo_rbn * moo_rbn_new(void)
Create a new moo_rbn.
cpl_error_code moo_rbn_free_single(moo_rbn *self, moo_detector_type type)
Free the given type part in RBN.