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

extract/lib/proc_spectra.c File Reference

CCD spectrum related procedures. More...

Go to the source code of this file.

Functions

int read_spectra_refcoord (TABLE *mask, SpectrumCCD spectra[])
 Set basic quantities of an array of CCD spectra from mask columns.

int read_spectra_chromatic_model (TABLE *mask, int flag, SpectrumCCD spectra[])


Detailed Description

CCD spectrum related procedures.

Copyright:
(c) 2005 IPNL - Universite Lyon I
Date:
Tue Aug 2 10:41:47 2005
Author:
Yannick Copin <yannick@ipnl.in2p3.fr>

Author
ycopin
Version:
Revision
1.1
Id
proc_spectra.c,v 1.1 2005/08/02 14:41:42 ycopin Exp

Definition in file proc_spectra.c.


Function Documentation

int read_spectra_refcoord TABLE *  mask,
SpectrumCCD  spectra[]
 

Set basic quantities of an array of CCD spectra from mask columns.

Parameters:
mask Input mask
spectra CCD spectra allocated array
Returns:
Error status

Definition at line 31 of file proc_spectra.c.

References SpectrumCCD::I, SpectrumCCD::J, LAB_COL_I, LAB_COL_J, SpectrumCCD::no, x, SpectrumCCD::xref, and SpectrumCCD::yref.

Referenced by main().

int read_spectra_chromatic_model TABLE *  mask,
int  flag,
SpectrumCCD  spectra[]
 

Read CCD spectra chromatic models from mask (position adjusment or sigma)

Parameters:
mask Mask table
flag 1: dx (position adjustment), 2: sigma (X-disp.)
spectra CCD spectra allocated array
Returns:
Nb of coeff. in the local model or negative error status
Note:
Object-oriented version of read_local_model

Definition at line 87 of file proc_spectra.c.

References SpectrumCCD::dx, MSK_DXNC, MSK_SIGNC, and SpectrumCCD::sig.

Referenced by main().


Generated on Thu Oct 27 00:00:11 2005 for Snifs by doxygen 1.3.5