Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages


Spectra extraction (CCD to datacube)

-mask mask Input extraction mask
-in none Input frame to be extracted (preprocessed, in e-)
-out none Output datacube
-width 5 Extraction window full-width [px]
-cal none Calibration frame
-weighted Weighted summation
-lens -1 Single lens extraction
-overlap De-polluted summation
-offset NULL Calibration offset (manual)
-cal2 NULL 2nd calibration frame
-local Local adjustment to mask positions
-linfit Linear fit (not fully tested)
-verbose Verbose output
-variance Use [signal] and [variance] extensions of input frame
Error status
In single-lens debug extraction, a residual map of the extraction process can be computed from the dbg_ext_extract_spec debug cube, by converting the signal (input frame) and the variance (model) extensions of the cube to 2D-frames, and subtracting them, e.g.,
 export_spec -in dbg_ext_extract_spec.tig -out lens113_2D  -longslit -lcol NO,LBDA
 export_spec -in dbg_ext_extract_spec.tig -out lens113F_2D -longslit -lcol NO,LBDA -noise 

Expand the domain of validity of the Chebyshev expansion for sigma (and dx?) from the useful wavelength range [lbda_inf,lbda_sup] to the total wavelength range [lbda_inf_tot,lbda_sup_tot] (requires changes in create_mask and snifs_instrument::h) (see comment "get lbda = f(yd)")

CHECK CAREFULLY THE OPTIMAL EXTRACTION (signal and variance). In particular, use the variance extension during the optimal extraction. One could also have a look at Khmil & Surdej 2002 (optimal extraction with maximum entropy).

Test the option -linfit

Use a fancier interpolation scheme in the final spectrum writing

The spatial coordinates still have to be computed.

There might be a bug (potential SEGFAULT) in the computation of fitting window limits i1,i2,... in Sauron.

Generated on Tue Nov 23 18:04:22 2004 for Snifs by doxygen 1.3.3