22 #ifndef MUSE_DATACUBE_H 23 #define MUSE_DATACUBE_H 30 #include "muse_cplwrappers.h" 31 #include "muse_image.h" 32 #include "muse_imagelist.h" 33 #include "muse_table.h" Structure definition of a MUSE datacube.
Structure definition for a collection of muse_images.
cpl_error_code muse_datacube_concat(muse_datacube *, const muse_datacube *)
Concatenate one datacube at the end of another one.
cpl_error_code muse_euro3dcube_save(muse_euro3dcube *, const char *)
Save a Euro3D cube object to a file.
muse_datacube * muse_datacube_load(const char *)
Load header, DATA and optionally STAT and DQ extensions as well as the reconstructed images of a MUSE...
void muse_datacube_delete(muse_datacube *)
Deallocate memory associated to a muse_datacube object.
cpl_propertylist * hgroup
the group FITS header
cpl_array * recnames
the reconstructed image filter names
muse_imagelist * recimages
the reconstructed image data
cpl_propertylist * header
the primary FITS header
Structure definition of MUSE three extension FITS file.
cpl_array * recnames
the reconstructed image filter names
cpl_error_code muse_datacube_save(muse_datacube *, const char *)
Save the three cube extensions and the FITS headers of a MUSE datacube to a file. ...
cpl_error_code muse_datacube_convert_dq(muse_datacube *)
Convert the DQ extension of a datacube to NANs in DATA and STAT.
cpl_error_code muse_datacube_save_recimages(const char *, muse_imagelist *, cpl_array *)
Save reconstructed images of a cube in extra extensions.
void muse_euro3dcube_delete(muse_euro3dcube *)
Deallocate memory associated to a muse_euro3dcube object.
cpl_imagelist * data
the cube containing the actual data values
Structure definition of a Euro3D datacube.
Structure to store a table together with a property list.
cpl_imagelist * dq
the optional cube containing the bad pixel status
cpl_table * dtable
the table containing the actual Euro3D data
cpl_propertylist * hdata
the data FITS header
cpl_table * gtable
the table containing the Euro3D groups
cpl_propertylist * header
the FITS header
muse_image * muse_datacube_collapse(muse_datacube *, const muse_table *)
Integrate a FITS NAXIS=3 datacube along the wavelength direction.
muse_imagelist * recimages
the reconstructed image data
muse_image * muse_euro3dcube_collapse(muse_euro3dcube *, const muse_table *)
Integrate a Euro3D datacube along the wavelength direction.
cpl_imagelist * stat
the cube containing the data variance