MUSE Pipeline Reference Manual  2.5.2
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-2015 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 /*----------------------------------------------------------------------------*/
349 /*----------------------------------------------------------------------------*/
351  { "ifu", CPL_TYPE_INT, NULL, "%7d",
352  "IFU number", CPL_TRUE},
353  { "slice", CPL_TYPE_INT, NULL, "%7d",
354  "Slice number within the IFU", CPL_TRUE},
355  { "sensitivity", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
356  "Detector sensitivity, relative to the reference", CPL_TRUE},
357  { "offset", CPL_TYPE_DOUBLE, NULL, "%1.5e",
358  "Wavelength calibration offset", CPL_TRUE},
359  { "refraction", CPL_TYPE_DOUBLE, NULL, "%1.5e",
360  "Relative refraction index", CPL_TRUE},
361  { "slit_width", CPL_TYPE_DOUBLE, NULL, "%1.5e",
362  "Slit width", CPL_TRUE},
363  { "bin_width", CPL_TYPE_DOUBLE, NULL, "%1.5e",
364  "Bin width", CPL_TRUE},
365  { "lsf_width", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
366  "LSF gauss-hermitean width", CPL_TRUE},
367  { "hermit3", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
368  "3th order hermitean coefficient", CPL_TRUE},
369  { "hermit4", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
370  "4th order hermitean coefficient", CPL_TRUE},
371  { "hermit5", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
372  "5th order hermitean coefficient", CPL_TRUE},
373  { "hermit6", CPL_TYPE_DOUBLE | CPL_TYPE_POINTER, NULL, "%1.5e",
374  "6th order hermitean coefficient", CPL_TRUE},
375  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
376 };
377 
378 
379 #ifdef XML_TABLEDEF_GEOMETRY_TABLE /* currently not used */
380 
381 /*----------------------------------------------------------------------------*/
402 /*----------------------------------------------------------------------------*/
403 const muse_cpltable_def muse_geometry_table_def[] = {
404  { "SubField", CPL_TYPE_INT, NULL, "%02d",
405  "sub-field (IFU / channel) number", CPL_TRUE},
406  { "SliceCCD", CPL_TYPE_INT, NULL, "%02d",
407  "Slice number on the CCD, counted from left to right", CPL_TRUE},
408  { "SliceSky", CPL_TYPE_INT, NULL, "%02d",
409  "Slice number on the sky", CPL_TRUE},
410  { "x", CPL_TYPE_DOUBLE, "pix", "%9.4f",
411  "x position within field of view", CPL_TRUE},
412  { "y", CPL_TYPE_DOUBLE, "pix", "%9.4f",
413  "y position within field of view", CPL_TRUE},
414  { "angle", CPL_TYPE_DOUBLE, "deg", "%6.3f",
415  "Rotation angle of slice", CPL_TRUE},
416  { "width", CPL_TYPE_DOUBLE, "pix", "%.2f",
417  "Width of slice within field of view", CPL_TRUE},
418  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
419 };
420 
421 #endif /* XML_TABLEDEF_GEOMETRY_TABLE */
422 
423 #ifdef XML_TABLEDEF_SPOTS_TABLE /* currently not used */
424 
425 /*----------------------------------------------------------------------------*/
458 /*----------------------------------------------------------------------------*/
459 const muse_cpltable_def muse_spots_table_def[] = {
460  { "filename", CPL_TYPE_STRING, NULL, "%s",
461  "(Raw) filename from which this measurement originates", CPL_TRUE},
462  { "image", CPL_TYPE_INT, NULL, "%03d",
463  "Number of the image in the series", CPL_TRUE},
464  { "POSENC2", CPL_TYPE_INT, NULL, "%7d",
465  "X position of the mask in encoder steps", CPL_TRUE},
466  { "POSPOS2", CPL_TYPE_DOUBLE, "mm", "%.3f",
467  "X position of the mask", CPL_TRUE},
468  { "POSENC3", CPL_TYPE_INT, NULL, "%7d",
469  "Y position of the mask in encoder steps", CPL_TRUE},
470  { "POSPOS3", CPL_TYPE_DOUBLE, "mm", "%.3f",
471  "Y position of the mask", CPL_TRUE},
472  { "POSENC4", CPL_TYPE_INT, NULL, "%7d",
473  "Z position of the mask in encoder steps", CPL_TRUE},
474  { "POSPOS4", CPL_TYPE_DOUBLE, "mm", "%.3f",
475  "Z position of the mask", CPL_TRUE},
476  { "VPOS", CPL_TYPE_DOUBLE, "mm", "%.3f",
477  "Real vertical position of the mask", CPL_TRUE},
478  { "ScaleFOV", CPL_TYPE_DOUBLE, "arcsec/mm", "%.3f",
479  "Focus scale in VLT focal plane (from the FITS header)", CPL_TRUE},
480  { "SubField", CPL_TYPE_INT, NULL, "%02d",
481  "Sub-field number", CPL_TRUE},
482  { "SliceCCD", CPL_TYPE_INT, NULL, "%02d",
483  "Slice number as counted on the CCD", CPL_TRUE},
484  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%.3f",
485  "Wavelength", CPL_TRUE},
486  { "SpotNo", CPL_TYPE_INT, NULL, "%04d",
487  "Number of this spot within the slice (1 is left, 2 is the central one, 3 is right within the slice)", CPL_TRUE},
488  { "xc", CPL_TYPE_DOUBLE, "pix", "%.3f",
489  "x center of this spot on the CCD", CPL_TRUE},
490  { "yc", CPL_TYPE_DOUBLE, "pix", "%.3f",
491  "y center of this spot on the CCD", CPL_TRUE},
492  { "xfwhm", CPL_TYPE_DOUBLE, "pix", "%.2f",
493  "FWHM in x-direction on the CCD", CPL_TRUE},
494  { "yfwhm", CPL_TYPE_DOUBLE, "pix", "%.2f",
495  "FWHM in y-direction on the CCD", CPL_TRUE},
496  { "flux", CPL_TYPE_DOUBLE, NULL, "%.1f",
497  "Flux of the spot as integrated on the CCD image", CPL_TRUE},
498  { "bg", CPL_TYPE_DOUBLE, NULL, "%f",
499  "Background level around the spot", CPL_TRUE},
500  { "dxcen", CPL_TYPE_DOUBLE, "pix", "%f",
501  "distance to center of slice at vertical position yc (positive: right of center)", CPL_TRUE},
502  { "twidth", CPL_TYPE_DOUBLE, "pix", "%f",
503  "trace width of the slice at the vertical CCD position of the spot", CPL_TRUE},
504  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
505 };
506 
507 #endif /* XML_TABLEDEF_SPOTS_TABLE */
508 
509 /*----------------------------------------------------------------------------*/
527 /*----------------------------------------------------------------------------*/
529  { "ifu", CPL_TYPE_INT, NULL, "%2d",
530  "IFU number", CPL_TRUE},
531  { "sli", CPL_TYPE_INT, NULL, "%2d",
532  "Slice number", CPL_TRUE},
533  { "quad", CPL_TYPE_INT, NULL, "%2d",
534  "Wavelength range bin number", CPL_TRUE},
535  { "npts", CPL_TYPE_INT, NULL, "%5d",
536  "Number of points used to compute the correction factor", CPL_TRUE},
537  { "corr", CPL_TYPE_DOUBLE, NULL, "%6.4f",
538  "Correction factor for the slice in this wavelength range", CPL_TRUE},
539  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
540 };
541 
542 
543 /*----------------------------------------------------------------------------*/
559 /*----------------------------------------------------------------------------*/
561  { "name", CPL_TYPE_STRING, NULL, "%s",
562  "Line name", CPL_TRUE},
563  { "group", CPL_TYPE_INT, NULL, "%2d",
564  "Line group id", CPL_TRUE},
565  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
566  "Air wavelength", CPL_TRUE},
567  { "flux", CPL_TYPE_DOUBLE, "10**(-20)*erg/(s cm^2 arcsec^2)", "%1.5e",
568  "Line flux", CPL_TRUE},
569  { "dq", CPL_TYPE_INT, NULL, "%#x",
570  "Quality of the entry (>0: dont use)", CPL_TRUE},
571  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
572 };
573 
574 
575 /*----------------------------------------------------------------------------*/
594 /*----------------------------------------------------------------------------*/
596  { "name", CPL_TYPE_STRING, NULL, "%s",
597  "Transition name; like \"OH 8-3 P1e(22.5) 2\"", CPL_TRUE},
598  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
599  "Air wavelength", CPL_TRUE},
600  { "v_u", CPL_TYPE_INT, NULL, "%7d",
601  "Upper transition level", CPL_TRUE},
602  { "v_l", CPL_TYPE_INT, NULL, "%7d",
603  "Lower transition level", CPL_TRUE},
604  { "nu", CPL_TYPE_INT, NULL, "%7d",
605  "Vibrational momentum", CPL_TRUE},
606  { "E_u", CPL_TYPE_DOUBLE, "J", "%1.5e",
607  "Upper energy", CPL_TRUE},
608  { "J_u", CPL_TYPE_DOUBLE, NULL, "%1.5e",
609  "Upper momentum", CPL_TRUE},
610  { "A", CPL_TYPE_DOUBLE, NULL, "%1.5e",
611  "Transition probability", CPL_TRUE},
612  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
613 };
614 
615 
616 /*----------------------------------------------------------------------------*/
630 /*----------------------------------------------------------------------------*/
632  { "name", CPL_TYPE_STRING, NULL, "%s",
633  "Line name", CPL_TRUE},
634  { "group", CPL_TYPE_INT, NULL, "%2d",
635  "Line group id", CPL_TRUE},
636  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
637  "Air wavelength", CPL_TRUE},
638  { "flux", CPL_TYPE_DOUBLE, "10**(-20)*erg/(s cm^2 arcsec^2)", "%1.5e",
639  "Line flux", CPL_TRUE},
640  { "dq", CPL_TYPE_INT, NULL, "%#x",
641  "Quality of the entry (>0: dont use)", CPL_TRUE},
642  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
643 };
644 
645 
646 #ifdef XML_TABLEDEF_FLUX_TABLE /* currently not used */
647 
648 /*----------------------------------------------------------------------------*/
660 /*----------------------------------------------------------------------------*/
661 const muse_cpltable_def muse_flux_table_def[] = {
662  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
663  "Wavelength", CPL_TRUE},
664  { "flux", CPL_TYPE_DOUBLE, "erg/(s cm^2 arcsec^2)", "%1.5e",
665  "Flux", CPL_TRUE},
666  { "fluxerr", CPL_TYPE_DOUBLE, "erg/(s cm^2 arcsec^2)", "%1.5e",
667  "Error of the flux", CPL_FALSE},
668  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
669 };
670 
671 #endif /* XML_TABLEDEF_FLUX_TABLE */
672 
673 #ifdef XML_TABLEDEF_STD_FLUX_TABLE /* currently not used */
674 
675 /*----------------------------------------------------------------------------*/
694 /*----------------------------------------------------------------------------*/
695 const muse_cpltable_def muse_std_flux_table_def[] = {
696  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
697  "Wavelength", CPL_TRUE},
698  { "flux", CPL_TYPE_DOUBLE, "erg/s/cm**2/Angstrom", "%1.5e",
699  "The standard star flux", CPL_TRUE},
700  { "fluxerr", CPL_TYPE_DOUBLE, "erg/s/cm**2/Angstrom", "%1.5e",
701  "Error of the standard star flux, optional", CPL_FALSE},
702  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
703 };
704 
705 #endif /* XML_TABLEDEF_STD_FLUX_TABLE */
706 
707 #ifdef XML_TABLEDEF_STD_RESPONSE /* currently not used */
708 
709 /*----------------------------------------------------------------------------*/
725 /*----------------------------------------------------------------------------*/
726 const muse_cpltable_def muse_std_response_def[] = {
727  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
728  "wavelength", CPL_TRUE},
729  { "response", CPL_TYPE_DOUBLE, "2.5*log10((count/s/Angstrom)/(erg/s/cm**2/Angstrom))", "%.4e",
730  "instrument response derived from standard star", CPL_TRUE},
731  { "resperr", CPL_TYPE_DOUBLE, "2.5*log10((count/s/Angstrom)/(erg/s/cm**2/Angstrom))", "%.4e",
732  "instrument response error derived from standard star", CPL_TRUE},
733  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
734 };
735 
736 #endif /* XML_TABLEDEF_STD_RESPONSE */
737 
738 #ifdef XML_TABLEDEF_STD_TELLURIC /* currently not used */
739 
740 /*----------------------------------------------------------------------------*/
751 /*----------------------------------------------------------------------------*/
752 const muse_cpltable_def muse_std_telluric_def[] = {
753  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%7.2f",
754  "wavelength", CPL_TRUE},
755  { "ftelluric", CPL_TYPE_DOUBLE, NULL, "%.5f",
756  "the telluric correction factor, normalized to an airmass of 1", CPL_TRUE},
757  { "ftellerr", CPL_TYPE_DOUBLE, NULL, "%.5f",
758  "the error of the telluric correction factor", CPL_TRUE},
759  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
760 };
761 
762 #endif /* XML_TABLEDEF_STD_TELLURIC */
763 
764 #ifdef XML_TABLEDEF_EXTINCT_TABLE /* currently not used */
765 
766 /*----------------------------------------------------------------------------*/
781 /*----------------------------------------------------------------------------*/
782 const muse_cpltable_def muse_extinct_table_def[] = {
783  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%1.5e",
784  "Wavelength", CPL_TRUE},
785  { "extinction", CPL_TYPE_DOUBLE, "mag/airmass", "%1.5e",
786  "Extinction", CPL_TRUE},
787  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
788 };
789 
790 #endif /* XML_TABLEDEF_EXTINCT_TABLE */
791 
792 #ifdef XML_TABLEDEF_TELLURIC_REGIONS /* currently not used */
793 
794 /*----------------------------------------------------------------------------*/
808 /*----------------------------------------------------------------------------*/
809 const muse_cpltable_def muse_telluric_regions_def[] = {
810  { "lmin", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
811  "Lower limit of the telluric region", CPL_TRUE},
812  { "lmax", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
813  "Upper limit of the telluric region", CPL_TRUE},
814  { "bgmin", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
815  "Lower limit of the background region", CPL_TRUE},
816  { "bgmax", CPL_TYPE_DOUBLE, "Angstrom", "%8.3f",
817  "Upper limit of the background region", CPL_TRUE},
818  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
819 };
820 
821 #endif /* XML_TABLEDEF_TELLURIC_REGIONS */
822 
823 /*----------------------------------------------------------------------------*/
848 /*----------------------------------------------------------------------------*/
850  { MUSE_LINE_CATALOG_LAMBDA, CPL_TYPE_FLOAT, "Angstrom", "%1.5e",
851  "Wavelength", CPL_TRUE},
852  { MUSE_LINE_CATALOG_FLUX, CPL_TYPE_FLOAT, NULL, "%1.5e",
853  "Relative flux", CPL_TRUE},
854  { MUSE_LINE_CATALOG_ION, CPL_TYPE_STRING, NULL, "%s",
855  "Ion from which the line originates", CPL_TRUE},
856  { MUSE_LINE_CATALOG_QUALITY, CPL_TYPE_INT, NULL, "%7d",
857  "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},
858  { "comment", CPL_TYPE_STRING, NULL, "%s",
859  "Optional comment", CPL_FALSE},
860  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
861 };
862 
863 
864 /*----------------------------------------------------------------------------*/
878 /*----------------------------------------------------------------------------*/
880  { MUSE_BADPIX_X, CPL_TYPE_INT, "pix", "%4d",
881  "X position of a bad pixel (on untrimmed raw data)", CPL_TRUE},
882  { MUSE_BADPIX_Y, CPL_TYPE_INT, "pix", "%4d",
883  "Y position of a bad pixel (on untrimmed raw data)", CPL_TRUE},
884  { MUSE_BADPIX_DQ, CPL_TYPE_INT, NULL, "%#010x",
885  "32bit bad pixel mask as defined by Euro3D", CPL_TRUE},
886  { MUSE_BADPIX_VALUE, CPL_TYPE_FLOAT, "count", "%7.4f",
887  "Extra value, e.g. depth for traps", CPL_TRUE},
888  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
889 };
890 
891 
892 #ifdef XML_TABLEDEF_ASTROMETRY_REFERENCE /* currently not used */
893 
894 /*----------------------------------------------------------------------------*/
915 /*----------------------------------------------------------------------------*/
916 const muse_cpltable_def muse_astrometry_reference_def[] = {
917  { "SourceID", CPL_TYPE_STRING, NULL, "%s",
918  "Source identification", CPL_TRUE},
919  { "RA", CPL_TYPE_DOUBLE, "deg", "%1.5e",
920  "Right ascension", CPL_TRUE},
921  { "DEC", CPL_TYPE_DOUBLE, "deg", "%1.5e",
922  "Declination", CPL_TRUE},
923  { "filter", CPL_TYPE_STRING, NULL, "%s",
924  "Filter name used for column mag", CPL_TRUE},
925  { "mag", CPL_TYPE_DOUBLE, "mag", "%1.5e",
926  "Object (Vega) magnitude", CPL_TRUE},
927  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
928 };
929 
930 #endif /* XML_TABLEDEF_ASTROMETRY_REFERENCE */
931 
932 #ifdef XML_TABLEDEF_FILTER_LIST /* currently not used */
933 
934 /*----------------------------------------------------------------------------*/
946 /*----------------------------------------------------------------------------*/
947 const muse_cpltable_def muse_filter_list_def[] = {
948  { "lambda", CPL_TYPE_DOUBLE, "Angstrom", "%1.5e",
949  "Wavelength", CPL_TRUE},
950  { "throughput", CPL_TYPE_DOUBLE, NULL, "%1.5e",
951  "Filter throughput (in fractions of 1)", CPL_TRUE},
952  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
953 };
954 
955 #endif /* XML_TABLEDEF_FILTER_LIST */
956 
957 /*----------------------------------------------------------------------------*/
988 /*----------------------------------------------------------------------------*/
990  { MUSE_OFFSETS_DATEOBS, CPL_TYPE_STRING, NULL, "%s",
991  "Date and time at the start of the exposure", CPL_TRUE},
992  { MUSE_OFFSETS_MJDOBS, CPL_TYPE_DOUBLE, "s", "%.8f",
993  "MJD at the start of the exposure", CPL_FALSE},
994  { MUSE_OFFSETS_DRA, CPL_TYPE_DOUBLE, "deg", "%.6e",
995  "Right ascension offset in degrees", CPL_TRUE},
996  { MUSE_OFFSETS_DDEC, CPL_TYPE_DOUBLE, "deg", "%.6e",
997  "Declination offset in degrees", CPL_TRUE},
998  { MUSE_OFFSETS_FSCALE, CPL_TYPE_DOUBLE, NULL, "%.5f",
999  "(Relative) flux scaling of the given exposure", CPL_FALSE},
1000  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
1001 };
1002 
1003 
1004 /*----------------------------------------------------------------------------*/
1022 /*----------------------------------------------------------------------------*/
1024  { MUSE_SRCLIST_ID, CPL_TYPE_INT, NULL, "%d",
1025  "Source identifier", CPL_TRUE},
1026  { MUSE_SRCLIST_X, CPL_TYPE_DOUBLE, "pix", "%.6e",
1027  "X-position of the source in image coordinates", CPL_TRUE},
1028  { MUSE_SRCLIST_Y, CPL_TYPE_DOUBLE, "pix", "%.6e",
1029  "Y-position of the source in image coordinates", CPL_TRUE},
1030  { MUSE_SRCLIST_FLUX, CPL_TYPE_DOUBLE, NULL, "%.6e",
1031  "Source flux", CPL_FALSE},
1032  { MUSE_SRCLIST_SHARPNESS, CPL_TYPE_DOUBLE, NULL, "%.8f",
1033  "Source sharpness value", CPL_FALSE},
1034  { MUSE_SRCLIST_ROUNDNESS, CPL_TYPE_DOUBLE, NULL, "%.8f",
1035  "Source roundness value", CPL_FALSE},
1036  { MUSE_SRCLIST_RA, CPL_TYPE_DOUBLE, "deg", "%.6e",
1037  "Source right ascension in degrees", CPL_TRUE},
1038  { MUSE_SRCLIST_DEC, CPL_TYPE_DOUBLE, "deg", "%.6e",
1039  "Source declination in degrees", CPL_TRUE},
1040  { MUSE_SRCLIST_RACORR, CPL_TYPE_DOUBLE, "deg", "%.6e",
1041  "Source right ascension in degrees corrected for field offset", CPL_FALSE},
1042  { MUSE_SRCLIST_DECCORR, CPL_TYPE_DOUBLE, "deg", "%.6e",
1043  "Source declination in degrees corrected for field offset", CPL_FALSE},
1044  { NULL, 0, NULL, NULL, NULL, CPL_FALSE }
1045 };
1046 
1047 
1049 
const muse_cpltable_def muse_autocal_results_def[]
const muse_cpltable_def muse_dataspectrum_def[]
const muse_cpltable_def muse_offset_list_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_raman_lines_lines_def[]
const muse_cpltable_def muse_line_catalog_def[]
const muse_cpltable_def muse_euro3dcube_e3d_data_def[]
const muse_cpltable_def muse_source_list_def[]
Definition of a cpl table structure.
const muse_cpltable_def muse_euro3dcube_e3d_grp_def[]