48cpl_error_code
moo_scilist_set(moo_scilist *self, moo_sci *sci, cpl_size pos);
enum _moo_detector_type_ moo_detector_type
The type code type.
moo_sci * moo_scilist_get(moo_scilist *self, int i)
Get the SCI at the position i in the list.
moo_sci * moo_scilist_unset(moo_scilist *self, cpl_size pos)
Remove a SCI from a SCI list.
hdrl_imagelist * moo_scilist_get_image(const moo_scilist *self, moo_detector_type type)
Get the all the images of the type part in the scilist.
void moo_scilist_delete(moo_scilist *self)
Free all memory used by a moo_scilist object including the SCI.
cpl_imagelist * moo_scilist_get_qual(const moo_scilist *self, moo_detector_type type)
Get the all the QUAL of the type part in the scilist.
moo_sci_single * moo_scilist_get_single(moo_scilist *self, int i, moo_detector_type type)
Get the SCI SINGLE at the position i in the list for the given detector.
cpl_error_code moo_scilist_load_single(const moo_scilist *self, moo_detector_type type, int level)
Load the type part for all SCI in the scilist.
moo_scilist * moo_scilist_create(cpl_frameset *frameset)
Create a new moo_scilist from the given SCI frameset.
cpl_error_code moo_scilist_set(moo_scilist *self, moo_sci *sci, cpl_size pos)
Insert a SCI into an moo_scilist.
moo_scilist * moo_scilist_create_clean(cpl_frameset *frameset)
Create a new moo_scilist from the given SCI frameset ignoring SCI with 0 targets.
moo_scilist * moo_scilist_new(void)
Create a new moo_scilist.
void moo_scilist_empty(moo_scilist *self)
Empty an moo_scilist and deallocate all its SCI.
cpl_size moo_scilist_get_size(const moo_scilist *self)
Get the number of SCI in the scilist.
cpl_error_code moo_scilist_push(moo_scilist *self, moo_sci *sci)
Insert a SCI a the end of moo_scilist.
cpl_imagelist * moo_scilist_get_sky(const moo_scilist *self, moo_detector_type type)
Get the all the SKY of the type part in the scilist.