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

extract/source/new_extract_spec.c File Reference

Development sandbox for extract_spec. More...

Go to the source code of this file.

Defines

#define DBG_PREFIX   "dbg_ext"
 Prefix for debug files.

#define SMAX   2.0
 Maximum X-disp. sigma [px].

#define SMIN   0.1
 Minimum X-disp. sigma [px].

#define NEIGHBRANGE_C   0.5
#define NEIGHBRANGE_F   1.3
#define TOOFAR   3

Functions

long funct1 (long *n, double *I, double *result)
int main (int argc, char **argv)

Variables

int const  ORDER = 1
 Order of the extracted spectra.

int const  XOFY_DEGMAX = 7
 Max. degree for xd = f(yd) polynomial.

int const  YOFL_DEGMAX = 7
 Max. degree for yd = f(lbda) polynomial.

int const  LOFY_DEGMAX = 7
 Max. degree for lbda = f(yd) polynomial.

int const  POLY_NPTS = 50
 Number of points in polynoms.

int const  DBGSIDEWIN = 3
 Size of the debug storage window.

int const  XTRALENGTH = 30
 Extra-length of the filter for neighbor finding.

long * glnpeaks
double * glpeaks


Detailed Description

Development sandbox for extract_spec.

Copyright:
(c) 2005 IPNL - Universite Lyon I
Date:
Tue Aug 2 17:59:33 2005
Author:
Yannick Copin <y.copin@ipnl.in2p3.fr>

Author
ycopin
Version:
Revision
1.3
Id
new_extract_spec.c,v 1.3 2005/09/15 21:43:14 ycopin Exp

Definition in file new_extract_spec.c.


Define Documentation

#define DBG_PREFIX   "dbg_ext"
 

Prefix for debug files.

Definition at line 21 of file new_extract_spec.c.

#define SMAX   2.0
 

Maximum X-disp. sigma [px].

Definition at line 30 of file new_extract_spec.c.

#define SMIN   0.1
 

Minimum X-disp. sigma [px].

Definition at line 31 of file new_extract_spec.c.

#define NEIGHBRANGE_C   0.5
 

Definition at line 37 of file new_extract_spec.c.

#define NEIGHBRANGE_F   1.3
 

Definition at line 39 of file new_extract_spec.c.

#define TOOFAR   3
 

Definition at line 41 of file new_extract_spec.c.


Function Documentation

long funct1 long *  n,
double *  I,
double *  result
 

Definition at line 46 of file new_extract_spec.c.

Referenced by main().

int main int  argc,
char **  argv
 

Definition at line 107 of file new_extract_spec.c.

References alpha, BLUE_CHANNEL, SnifsConfig::ccd, SnifsOptics::center, SnifsOptics::channel, Channel, channel_names, check_airmass(), check_jdate(), SpectrumCCD::coeff, comp_calibration_offsets(), DBG_PREFIX, DBGSIDEWIN, SpectrumCCD::dx, SnifsOptics::enlarger, SnifsOptics::filter, Fit_polynom2(), funct1(), glnpeaks, glpeaks, good_neighbor_spectrum(), init_snifs(), interpolate_y2lbda(), CorePSF::Ipsf, LAB_COL_I, LAB_COL_J, LENSIZE3, SpectrumCCD::lmin, SpectrumCCD::lofy, LOFY_DEGMAX, LRANGE4, SnifsOptics::MLA, MSK_ARC, NEIGHBRANGE_C, NEIGHBRANGE_F, CorePSF::nggeo, CorePSF::ngpsf, SpectrumCCD::no, OBJECT, open_image_ext(), open_mask(), SnifsConfig::optics, ORDER, SnifsDetector::pixsize, POLY_NPTS, print_snifs_config(), read_airmass(), read_channel(), read_corePSF(), read_jdate(), read_lbdaref(), read_mask_arc(), read_mean_RoN(), read_snifs_config_from_mask(), read_spectra_chromatic_model(), read_spectra_refcoord(), Telescope::scale, SpectrumCCD::sig, SMAX, SMIN, snifs_optics_CCD2MLA(), snifs_optics_MLA2CCD(), SNIFS_SAMPL, SNIFSB_LSTEP, SNIFSR_LSTEP, CorePSF::Spsf, SnifsConfig::telescope, TOOFAR, SpectrumCCD::total, SpectrumCCD::useful, x, xc, xdisp_profile(), SpectrumCCD::xlo, SpectrumCCD::xofy, XOFY_DEGMAX, XTRALENGTH, SpectrumCCD::xup, yc, SpectrumCCD::yofl, YOFL_DEGMAX, and SpectrumCCD::yup.

Here is the call graph for this function:


Variable Documentation

int const ORDER = 1 [static]
 

Order of the extracted spectra.

Definition at line 23 of file new_extract_spec.c.

Referenced by main().

int const XOFY_DEGMAX = 7 [static]
 

Max. degree for xd = f(yd) polynomial.

Definition at line 25 of file new_extract_spec.c.

Referenced by main().

int const YOFL_DEGMAX = 7 [static]
 

Max. degree for yd = f(lbda) polynomial.

Definition at line 26 of file new_extract_spec.c.

Referenced by main().

int const LOFY_DEGMAX = 7 [static]
 

Max. degree for lbda = f(yd) polynomial.

Definition at line 27 of file new_extract_spec.c.

Referenced by main().

int const POLY_NPTS = 50 [static]
 

Number of points in polynoms.

Definition at line 28 of file new_extract_spec.c.

Referenced by main().

int const DBGSIDEWIN = 3 [static]
 

Size of the debug storage window.

Definition at line 33 of file new_extract_spec.c.

Referenced by main().

int const XTRALENGTH = 30 [static]
 

Extra-length of the filter for neighbor finding.

Definition at line 34 of file new_extract_spec.c.

Referenced by main().

long* glnpeaks
 

Definition at line 43 of file new_extract_spec.c.

double* glpeaks
 

Definition at line 44 of file new_extract_spec.c.


Generated on Mon Sep 19 15:24:29 2005 for Snifs by doxygen 1.3.5