MUSE Pipeline Reference Manual  1.0.5b
muse_data_format_z.c
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set sw=2 sts=2 et cin: */
3 /*
4  * This file is part of the MUSE Instrument Pipeline
5  * Copyright (C) 2005-2014 European Southern Observatory
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 /* This file was automatically generated */
23 
24 #include "muse_cplwrappers.h"
25 #include "muse_data_format_z.h"
26 
27 /*----------------------------------------------------------------------------*/
36 /*----------------------------------------------------------------------------*/
65 /*----------------------------------------------------------------------------*/
67  { "SPEC_ID", CPL_TYPE_INT, NULL, "%5d",
68  "Spectrum identifier", CPL_TRUE},
69  { "SELECTED", CPL_TYPE_INT, NULL, "%1d",
70  "Selection flag", CPL_TRUE},
71  { "NSPAX", CPL_TYPE_INT, NULL, "%d",
72  "Number of instrument spaxels composing the spectrum", CPL_TRUE},
73  { "SPEC_LEN", CPL_TYPE_INT, "pixel", "%ld",
74  "Useful number of spectral elements", CPL_TRUE},
75  { "SPEC_STA", CPL_TYPE_INT, "pixel", "%7d",
76  "Starting wavelength of spectrum", CPL_TRUE},
77  { "XPOS", CPL_TYPE_DOUBLE, "pix", "%f",
78  "Horizontal position", CPL_TRUE},
79  { "YPOS", CPL_TYPE_DOUBLE, "pix", "%f",
80  "Vertical position", CPL_TRUE},
81  { "GROUP_N", CPL_TYPE_INT, NULL, "%d",
82  "Group number", CPL_TRUE},
83  { "SPAX_ID", CPL_TYPE_STRING, NULL, "%s",
84  "Spaxel identifier", CPL_TRUE},
85  { "DATA_SPE", CPL_TYPE_FLOAT | CPL_TYPE_POINTER, NULL, "%1.5e",
86  "Data spectrum", CPL_TRUE},
87  { "QUAL_SPE", CPL_TYPE_INT | CPL_TYPE_POINTER, NULL, "%010x",
88  "Data quality spectrum", CPL_TRUE},
89  { "STAT_SPE", CPL_TYPE_FLOAT | CPL_TYPE_POINTER, NULL, "%1.5e",
90  "Associated statistical error spectrum", CPL_TRUE},
91  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
92 };
93 
94 
95 /*----------------------------------------------------------------------------*/
123 /*----------------------------------------------------------------------------*/
125  { "GROUP_N", CPL_TYPE_INT, NULL, "%1d",
126  "Group number", CPL_TRUE},
127  { "G_SHAPE", CPL_TYPE_STRING, NULL, "%s",
128  "Spaxel shape keyword", CPL_TRUE},
129  { "G_SIZE1", CPL_TYPE_FLOAT, "arcsec", "%1.5e",
130  "Horizontal size per spaxel", CPL_TRUE},
131  { "G_ANGLE", CPL_TYPE_FLOAT, "deg", "%1.5e",
132  "Angle of spaxel on the sky", CPL_TRUE},
133  { "G_SIZE2", CPL_TYPE_FLOAT, "arcsec", "%1.5e",
134  "Vertical size per spaxel", CPL_TRUE},
135  { "G_POSWAV", CPL_TYPE_FLOAT, "Angstrom", "%1.5e",
136  "Wavelength for which the WCS is valid", CPL_TRUE},
137  { "G_AIRMAS", CPL_TYPE_FLOAT, NULL, "%1.5e",
138  "Airmass", CPL_TRUE},
139  { "G_PARANG", CPL_TYPE_FLOAT, "deg", "%1.5e",
140  "Parallactic angle", CPL_TRUE},
141  { "G_PRESSU", CPL_TYPE_FLOAT, "hPa", "%1.5e",
142  "Pressure", CPL_TRUE},
143  { "G_TEMPER", CPL_TYPE_FLOAT, "K", "%1.5e",
144  "Temperature", CPL_TRUE},
145  { "G_HUMID", CPL_TYPE_FLOAT, NULL, "%1.5e",
146  "Humidity", CPL_TRUE},
147  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
148 };
149 
150 
151 /*----------------------------------------------------------------------------*/
163 /*----------------------------------------------------------------------------*/
165  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
166  "Wavelength", CPL_TRUE},
167  { "data", CPL_TYPE_DOUBLE, "count", "%1.5e",
168  "Data values", CPL_TRUE},
169  { "stat", CPL_TYPE_DOUBLE, "count", "%1.5e",
170  "Data variance", CPL_TRUE},
171  { "dq", CPL_TYPE_INT, NULL, "%#x",
172  "Quality flag of data values", CPL_TRUE},
173  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
174 };
175 
176 
177 #ifdef XML_TABLEDEF_TRACE_TABLE /* currently not used */
178 
179 /*----------------------------------------------------------------------------*/
197 /*----------------------------------------------------------------------------*/
198 const muse_cpltable_def muse_trace_table_def[] = {
199  { "SliceNo", CPL_TYPE_INT, NULL, "%7d",
200  "Slice number", CPL_TRUE},
201  { "Width", CPL_TYPE_FLOAT, NULL, "%1.5e",
202  "Average slice width", CPL_TRUE},
203  { "tc0_ij", CPL_TYPE_DOUBLE, NULL, "%1.5e",
204  "polynomial coefficients for the central trace solution", CPL_TRUE},
205  { "MSE0", CPL_TYPE_DOUBLE, NULL, "%1.5e",
206  "mean squared error of fit (central solution)", CPL_TRUE},
207  { "tc1_ij", CPL_TYPE_DOUBLE, NULL, "%1.5e",
208  "polynomial coefficients for the left-edge trace solution", CPL_TRUE},
209  { "MSE1", CPL_TYPE_DOUBLE, NULL, "%1.5e",
210  "mean squared error of fit (left-edge solution)", CPL_TRUE},
211  { "tc2_ij", CPL_TYPE_DOUBLE, NULL, "%1.5e",
212  "polynomial coefficients for the right-edge trace solution", CPL_TRUE},
213  { "MSE2", CPL_TYPE_DOUBLE, NULL, "%1.5e",
214  "mean squared error of fit (right-edge solution)", CPL_TRUE},
215  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
216 };
217 
218 #endif /* XML_TABLEDEF_TRACE_TABLE */
219 
220 #ifdef XML_TABLEDEF_TRACE_SAMPLES /* currently not used */
221 
222 /*----------------------------------------------------------------------------*/
238 /*----------------------------------------------------------------------------*/
239 const muse_cpltable_def muse_trace_samples_def[] = {
240  { "slice", CPL_TYPE_INT, NULL, "%7d",
241  "Slice number", CPL_TRUE},
242  { "y", CPL_TYPE_FLOAT, "pix", "%1.5e",
243  "y position on the CCD", CPL_TRUE},
244  { "mid", CPL_TYPE_FLOAT, "pix", "%1.5e",
245  "Midpoint of the slice at this y position", CPL_TRUE},
246  { "left", CPL_TYPE_FLOAT, "pix", "%1.5e",
247  "Left edge of the slice at this y position", CPL_TRUE},
248  { "right", CPL_TYPE_FLOAT, "pix", "%1.5e",
249  "Right edge of the slice at this y position", CPL_TRUE},
250  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
251 };
252 
253 #endif /* XML_TABLEDEF_TRACE_SAMPLES */
254 
255 #ifdef XML_TABLEDEF_WAVECAL_TABLE /* currently not used */
256 
257 /*----------------------------------------------------------------------------*/
269 /*----------------------------------------------------------------------------*/
270 const muse_cpltable_def muse_wavecal_table_def[] = {
271  { "SliceNo", CPL_TYPE_INT, NULL, "%7d",
272  "Slice number", CPL_TRUE},
273  { "wlcIJ", CPL_TYPE_DOUBLE, NULL, "%1.5e",
274  "Polynomial coefficients for the wavelength solution", CPL_TRUE},
275  { "MSE", CPL_TYPE_DOUBLE, NULL, "%1.5e",
276  "Mean squared error of fit", CPL_TRUE},
277  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
278 };
279 
280 #endif /* XML_TABLEDEF_WAVECAL_TABLE */
281 
282 #ifdef XML_TABLEDEF_WAVECAL_RESIDUALS /* currently not used */
283 
284 /*----------------------------------------------------------------------------*/
301 /*----------------------------------------------------------------------------*/
302 const muse_cpltable_def muse_wavecal_residuals_def[] = {
303  { "slice", CPL_TYPE_INT, NULL, "%7d",
304  "Slice number", CPL_TRUE},
305  { "iteration", CPL_TYPE_INT, NULL, "%7d",
306  "Iteration", CPL_TRUE},
307  { "x", CPL_TYPE_INT, "pix", "%7d",
308  "x position on the CCD", CPL_TRUE},
309  { "y", CPL_TYPE_INT, "pix", "%7d",
310  "y position on the CCD", CPL_TRUE},
311  { "lambda", CPL_TYPE_FLOAT, "Angstrom", "%1.5e",
312  "Wavelength", CPL_TRUE},
313  { "residual", CPL_TYPE_DOUBLE, "Angstrom", "%1.5e",
314  "Residual at this point", CPL_TRUE},
315  { "rejlimit", CPL_TYPE_DOUBLE, "Angstrom", "%1.5e",
316  "Rejection limit for this iteration", CPL_TRUE},
317  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
318 };
319 
320 #endif /* XML_TABLEDEF_WAVECAL_RESIDUALS */
321 
322 /*----------------------------------------------------------------------------*/
347 /*----------------------------------------------------------------------------*/
349  { "ifu", CPL_TYPE_INT, NULL, "%7d",
350  "IFU number", CPL_TRUE},
351  { "slice", CPL_TYPE_INT, NULL, "%7d",
352  "Slice number within the IFU", CPL_TRUE},
353  { "sensitivity", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
354  "Detector sensitivity, relative to the reference (unused, should be 1)", CPL_TRUE},
355  { "offset", CPL_TYPE_DOUBLE, NULL, "%1.5e",
356  "Wavelength calibration offset", CPL_TRUE},
357  { "refraction", CPL_TYPE_DOUBLE, NULL, "%1.5e",
358  "Relative refraction index", CPL_TRUE},
359  { "slit_width", CPL_TYPE_DOUBLE, NULL, "%1.5e",
360  "Slit width", CPL_TRUE},
361  { "bin_width", CPL_TYPE_DOUBLE, NULL, "%1.5e",
362  "Bin width", CPL_TRUE},
363  { "lsf_width", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
364  "LSF gauss-hermitean width", CPL_TRUE},
365  { "hermit3", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
366  "3th order hermitean coefficient", CPL_TRUE},
367  { "hermit4", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
368  "4th order hermitean coefficient", CPL_TRUE},
369  { "hermit5", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
370  "5th order hermitean coefficient", CPL_TRUE},
371  { "hermit6", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
372  "6th order hermitean coefficient", CPL_TRUE},
373  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
374 };
375 
376 
377 #ifdef XML_TABLEDEF_GEOMETRY_TABLE /* currently not used */
378 
379 /*----------------------------------------------------------------------------*/
400 /*----------------------------------------------------------------------------*/
401 const muse_cpltable_def muse_geometry_table_def[] = {
402  { "SubField", CPL_TYPE_INT, NULL, "%02d",
403  "sub-field (IFU / channel) number", CPL_TRUE},
404  { "SliceCCD", CPL_TYPE_INT, NULL, "%02d",
405  "Slice number on the CCD, counted from left to right", CPL_TRUE},
406  { "SliceSky", CPL_TYPE_INT, NULL, "%02d",
407  "Slice number on the sky", CPL_TRUE},
408  { "x", CPL_TYPE_DOUBLE, "pix", "%9.4f",
409  "x position within field of view", CPL_TRUE},
410  { "y", CPL_TYPE_DOUBLE, "pix", "%9.4f",
411  "y position within field of view", CPL_TRUE},
412  { "angle", CPL_TYPE_DOUBLE, "deg", "%6.3f",
413  "Rotation angle of slice", CPL_TRUE},
414  { "width", CPL_TYPE_DOUBLE, "pix", "%.2f",
415  "Width of slice within field of view", CPL_TRUE},
416  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
417 };
418 
419 #endif /* XML_TABLEDEF_GEOMETRY_TABLE */
420 
421 #ifdef XML_TABLEDEF_SPOTS_TABLE /* currently not used */
422 
423 /*----------------------------------------------------------------------------*/
456 /*----------------------------------------------------------------------------*/
457 const muse_cpltable_def muse_spots_table_def[] = {
458  { "filename", CPL_TYPE_STRING, NULL, "%s",
459  "(Raw) filename from which this measurement originates", CPL_TRUE},
460  { "image", CPL_TYPE_INT, NULL, "%03d",
461  "Number of the image in the series", CPL_TRUE},
462  { "POSENC2", CPL_TYPE_INT, NULL, "%7d",
463  "X position of the mask in encoder steps", CPL_TRUE},
464  { "POSPOS2", CPL_TYPE_DOUBLE, "mm", "%.3f",
465  "X position of the mask", CPL_TRUE},
466  { "POSENC3", CPL_TYPE_INT, NULL, "%7d",
467  "Y position of the mask in encoder steps", CPL_TRUE},
468  { "POSPOS3", CPL_TYPE_DOUBLE, "mm", "%.3f",
469  "Y position of the mask", CPL_TRUE},
470  { "POSENC4", CPL_TYPE_INT, NULL, "%7d",
471  "Z position of the mask in encoder steps", CPL_TRUE},
472  { "POSPOS4", CPL_TYPE_DOUBLE, "mm", "%.3f",
473  "Z position of the mask", CPL_TRUE},
474  { "VPOS", CPL_TYPE_DOUBLE, "mm", "%.3f",
475  "Real vertical position of the mask", CPL_TRUE},
476  { "ScaleFOV", CPL_TYPE_DOUBLE, "arcsec/mm", "%.3f",
477  "Focus scale in VLT focal plane (from the FITS header)", CPL_TRUE},
478  { "SubField", CPL_TYPE_INT, NULL, "%02d",
479  "Sub-field number", CPL_TRUE},
480  { "SliceCCD", CPL_TYPE_INT, NULL, "%02d",
481  "Slice number as counted on the CCD", CPL_TRUE},
482  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%.3f",
483  "Wavelength", CPL_TRUE},
484  { "SpotNo", CPL_TYPE_INT, NULL, "%04d",
485  "Number of this spot within the slice (1 is left, 2 is the central one, 3 is right within the slice)", CPL_TRUE},
486  { "xc", CPL_TYPE_DOUBLE, "pix", "%.3f",
487  "x center of this spot on the CCD", CPL_TRUE},
488  { "yc", CPL_TYPE_DOUBLE, "pix", "%.3f",
489  "y center of this spot on the CCD", CPL_TRUE},
490  { "xfwhm", CPL_TYPE_DOUBLE, "pix", "%.2f",
491  "FWHM in x-direction on the CCD", CPL_TRUE},
492  { "yfwhm", CPL_TYPE_DOUBLE, "pix", "%.2f",
493  "FWHM in y-direction on the CCD", CPL_TRUE},
494  { "flux", CPL_TYPE_DOUBLE, NULL, "%.1f",
495  "Flux of the spot as integrated on the CCD image", CPL_TRUE},
496  { "bg", CPL_TYPE_DOUBLE, NULL, "%f",
497  "Background level around the spot", CPL_TRUE},
498  { "dxcen", CPL_TYPE_DOUBLE, "pix", "%f",
499  "distance to center of slice at vertical position yc (positive: right of center)", CPL_TRUE},
500  { "twidth", CPL_TYPE_DOUBLE, "pix", "%f",
501  "trace width of the slice at the vertical CCD position of the spot", CPL_TRUE},
502  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
503 };
504 
505 #endif /* XML_TABLEDEF_SPOTS_TABLE */
506 
507 /*----------------------------------------------------------------------------*/
523 /*----------------------------------------------------------------------------*/
525  { "name", CPL_TYPE_STRING, NULL, "%s",
526  "Line name", CPL_TRUE},
527  { "group", CPL_TYPE_INT, NULL, "%2d",
528  "Line group id", CPL_TRUE},
529  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
530  "Air wavelength", CPL_TRUE},
531  { "flux", CPL_TYPE_DOUBLE, "10**(-20)*erg/(s cm^2 arcsec^2)", "%1.5e",
532  "Line flux", CPL_TRUE},
533  { "dq", CPL_TYPE_INT, NULL, "%#x",
534  "Quality of the entry (>0: dont use)", CPL_TRUE},
535  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
536 };
537 
538 
539 /*----------------------------------------------------------------------------*/
558 /*----------------------------------------------------------------------------*/
560  { "name", CPL_TYPE_STRING, NULL, "%s",
561  "Transition name; like &OH 8-3 P1e(22.5) 2&", CPL_TRUE},
562  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
563  "Air wavelength", CPL_TRUE},
564  { "v_u", CPL_TYPE_INT, NULL, "%7d",
565  "Upper transition level", CPL_TRUE},
566  { "v_l", CPL_TYPE_INT, NULL, "%7d",
567  "Lower transition level", CPL_TRUE},
568  { "nu", CPL_TYPE_INT, NULL, "%7d",
569  "Vibrational momentum", CPL_TRUE},
570  { "E_u", CPL_TYPE_DOUBLE, "J", "%1.5e",
571  "Upper energy", CPL_TRUE},
572  { "J_u", CPL_TYPE_DOUBLE, NULL, "%1.5e",
573  "Upper momentum", CPL_TRUE},
574  { "A", CPL_TYPE_DOUBLE, NULL, "%1.5e",
575  "Transition probability", CPL_TRUE},
576  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
577 };
578 
579 
580 #ifdef XML_TABLEDEF_FLUX_TABLE /* currently not used */
581 
582 /*----------------------------------------------------------------------------*/
594 /*----------------------------------------------------------------------------*/
595 const muse_cpltable_def muse_flux_table_def[] = {
596  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
597  "Wavelength", CPL_TRUE},
598  { "flux", CPL_TYPE_DOUBLE, "erg/(s cm^2 arcsec^2)", "%1.5e",
599  "Flux", CPL_TRUE},
600  { "fluxerr", CPL_TYPE_DOUBLE, "erg/(s cm^2 arcsec^2)", "%1.5e",
601  "Error of the flux", CPL_FALSE},
602  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
603 };
604 
605 #endif /* XML_TABLEDEF_FLUX_TABLE */
606 
607 #ifdef XML_TABLEDEF_STD_FLUX_TABLE /* currently not used */
608 
609 /*----------------------------------------------------------------------------*/
628 /*----------------------------------------------------------------------------*/
629 const muse_cpltable_def muse_std_flux_table_def[] = {
630  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
631  "Wavelength", CPL_TRUE},
632  { "flux", CPL_TYPE_DOUBLE, "erg/s/cm**2/Angstrom", "%1.5e",
633  "The standard star flux", CPL_TRUE},
634  { "fluxerr", CPL_TYPE_DOUBLE, "erg/s/cm**2/Angstrom", "%1.5e",
635  "Error of the standard star flux, optional", CPL_FALSE},
636  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
637 };
638 
639 #endif /* XML_TABLEDEF_STD_FLUX_TABLE */
640 
641 #ifdef XML_TABLEDEF_STD_RESPONSE /* currently not used */
642 
643 /*----------------------------------------------------------------------------*/
654 /*----------------------------------------------------------------------------*/
655 const muse_cpltable_def muse_std_response_def[] = {
656  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
657  "wavelength", CPL_TRUE},
658  { "response", CPL_TYPE_DOUBLE, "2.5*log10((count/s/Angstrom)/(erg/s/cm**2/Angstrom))", "%.4e",
659  "instrument response derived from standard star", CPL_TRUE},
660  { "resperr", CPL_TYPE_DOUBLE, "2.5*log10((count/s/Angstrom)/(erg/s/cm**2/Angstrom))", "%.4e",
661  "instrument response error derived from standard star", CPL_TRUE},
662  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
663 };
664 
665 #endif /* XML_TABLEDEF_STD_RESPONSE */
666 
667 #ifdef XML_TABLEDEF_STD_TELLURIC /* currently not used */
668 
669 /*----------------------------------------------------------------------------*/
680 /*----------------------------------------------------------------------------*/
681 const muse_cpltable_def muse_std_telluric_def[] = {
682  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
683  "wavelength", CPL_TRUE},
684  { "ftelluric", CPL_TYPE_DOUBLE, NULL, "%.5f",
685  "the telluric correction factor, normalized to an airmass of 1", CPL_TRUE},
686  { "ftellerr", CPL_TYPE_DOUBLE, NULL, "%.5f",
687  "the error of the telluric correction factor", CPL_TRUE},
688  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
689 };
690 
691 #endif /* XML_TABLEDEF_STD_TELLURIC */
692 
693 #ifdef XML_TABLEDEF_EXTINCT_TABLE /* currently not used */
694 
695 /*----------------------------------------------------------------------------*/
710 /*----------------------------------------------------------------------------*/
711 const muse_cpltable_def muse_extinct_table_def[] = {
712  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%1.5e",
713  "Wavelength", CPL_TRUE},
714  { "extinction", CPL_TYPE_DOUBLE, "mag/airmass", "%1.5e",
715  "Extinction", CPL_TRUE},
716  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
717 };
718 
719 #endif /* XML_TABLEDEF_EXTINCT_TABLE */
720 
721 #ifdef XML_TABLEDEF_TELLURIC_REGIONS /* currently not used */
722 
723 /*----------------------------------------------------------------------------*/
737 /*----------------------------------------------------------------------------*/
738 const muse_cpltable_def muse_telluric_regions_def[] = {
739  { "lmin", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
740  "Lower limit of the telluric region", CPL_TRUE},
741  { "lmax", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
742  "Upper limit of the telluric region", CPL_TRUE},
743  { "bgmin", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
744  "Lower limit of the background region", CPL_TRUE},
745  { "bgmax", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
746  "Upper limit of the background region", CPL_TRUE},
747  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
748 };
749 
750 #endif /* XML_TABLEDEF_TELLURIC_REGIONS */
751 
752 /*----------------------------------------------------------------------------*/
777 /*----------------------------------------------------------------------------*/
779  { MUSE_LINE_CATALOG_LAMBDA, CPL_TYPE_FLOAT, "Angstrom", "%1.5e",
780  "Wavelength", CPL_TRUE},
781  { MUSE_LINE_CATALOG_FLUX, CPL_TYPE_FLOAT, NULL, "%1.5e",
782  "Relative flux", CPL_TRUE},
783  { MUSE_LINE_CATALOG_ION, CPL_TYPE_STRING, NULL, "%s",
784  "Ion from which the line originates", CPL_TRUE},
785  { MUSE_LINE_CATALOG_QUALITY, CPL_TYPE_INT, NULL, "%7d",
786  "Quality flag (0: undetected line, 1: line used for pattern matching, 2: line that is part of a multiplet, 3: good line, fully used, 5: bright and isolated line, use as FWHM reference", CPL_TRUE},
787  { "comment", CPL_TYPE_STRING, NULL, "%s",
788  "Optional comment", CPL_FALSE},
789  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
790 };
791 
792 
793 /*----------------------------------------------------------------------------*/
807 /*----------------------------------------------------------------------------*/
809  { MUSE_BADPIX_X, CPL_TYPE_INT, "pix", "%4d",
810  "X position of a bad pixel (on untrimmed raw data)", CPL_TRUE},
811  { MUSE_BADPIX_Y, CPL_TYPE_INT, "pix", "%4d",
812  "Y position of a bad pixel (on untrimmed raw data)", CPL_TRUE},
813  { MUSE_BADPIX_DQ, CPL_TYPE_INT, NULL, "%#010x",
814  "32bit bad pixel mask as defined by Euro3D", CPL_TRUE},
815  { MUSE_BADPIX_VALUE, CPL_TYPE_FLOAT, "count", "%7.4f",
816  "Extra value, e.g. depth for traps", CPL_TRUE},
817  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
818 };
819 
820 
821 #ifdef XML_TABLEDEF_ASTROMETRY_REFERENCE /* currently not used */
822 
823 /*----------------------------------------------------------------------------*/
844 /*----------------------------------------------------------------------------*/
845 const muse_cpltable_def muse_astrometry_reference_def[] = {
846  { "SourceID", CPL_TYPE_STRING, NULL, "%s",
847  "Source identification", CPL_TRUE},
848  { "RA", CPL_TYPE_DOUBLE, "deg", "%1.5e",
849  "Right ascension", CPL_TRUE},
850  { "DEC", CPL_TYPE_DOUBLE, "deg", "%1.5e",
851  "Declination", CPL_TRUE},
852  { "filter", CPL_TYPE_STRING, NULL, "%s",
853  "Filter name used for column mag", CPL_TRUE},
854  { "mag", CPL_TYPE_DOUBLE, "mag", "%1.5e",
855  "Object (Vega) magnitude", CPL_TRUE},
856  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
857 };
858 
859 #endif /* XML_TABLEDEF_ASTROMETRY_REFERENCE */
860 
861 #ifdef XML_TABLEDEF_FILTER_LIST /* currently not used */
862 
863 /*----------------------------------------------------------------------------*/
875 /*----------------------------------------------------------------------------*/
876 const muse_cpltable_def muse_filter_list_def[] = {
877  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%1.5e",
878  "Wavelength", CPL_TRUE},
879  { "throughput", CPL_TYPE_DOUBLE, NULL, "%1.5e",
880  "Filter throughput (in fractions of 1)", CPL_TRUE},
881  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
882 };
883 
884 #endif /* XML_TABLEDEF_FILTER_LIST */
885 
887 
const muse_cpltable_def muse_dataspectrum_def[]
const muse_cpltable_def muse_sky_lines_lines_def[]
const muse_cpltable_def muse_sky_lines_oh_transitions_def[]
const muse_cpltable_def muse_lsf_profile_def[]
const muse_cpltable_def muse_badpix_table_def[]
const muse_cpltable_def muse_line_catalog_def[]
const muse_cpltable_def muse_euro3dcube_e3d_data_def[]
Definition of a cpl table structure.
const muse_cpltable_def muse_euro3dcube_e3d_grp_def[]