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

extract/lib/deprecated.c File Reference

Deprecated procedures. More...

Go to the source code of this file.

Defines

#define Xpup   (par[0]*FMP_XPUPNORM + (*npts)/2.)
#define Ipup   (par[1]*FMP_IPUPNORM)
#define Spup   (par[2]*FMP_SPUPNORM)

Functions

long nllsqfit_localPSF (long *mode, long *npts, long *npar, long *ldfj, double par[], double fvec[], double fjac[], long *nstate, long *iuser, double x_n_sig[])
Channel snifs_channel (const float lbdaref)
 Return SNIFS channel according to reference wavelength.


Detailed Description

Deprecated procedures.

Copyright:
(c) 2004 IPNL
Date:
Wed Jul 7 12:41:58 2004
Author:
Yannick Copin <y.copin@ipnl.in2p3.fr>

Author
ycopin
Version:
Revision
1.1
Id
deprecated.c,v 1.1 2004/11/12 16:24:38 ycopin Exp

Definition in file deprecated.c.


Define Documentation

#define Xpup   (par[0]*FMP_XPUPNORM + (*npts)/2.)
 

#define Ipup   (par[1]*FMP_IPUPNORM)
 

#define Spup   (par[2]*FMP_SPUPNORM)
 


Function Documentation

long nllsqfit_localPSF long *  mode,
long *  npts,
long *  npar,
long *  ldfj,
double  par[],
double  fvec[],
double  fjac[],
long *  nstate,
long *  iuser,
double  x_n_sig[]
 

Fitting procedure for the local PSF parameters: fixed glnggeo(>0)-gaussian profile (x) fixed glngpsf(>=0)-gaussian global PSF (x) 1-gaussian local PSF adjusted on a single mpup.

To be used with nllsqfit_bnd. Derivatives have been checked.

Note:
Make use of global variables

Deprecated:
For a local PSF with more than 1 gaussian, use nllsqfit_localPSFn

Definition at line 36 of file deprecated.c.

References FMP_IPUPNORM, FMP_SPUPNORM, FMP_XPUPNORM, glIpsf, glnggeo, glngpsf, glSpsf, and glXgeo.

Channel snifs_channel const float  lbdaref  ) 
 

Return SNIFS channel according to reference wavelength.

Parameters:
lbdaref Reference wavelentgh
Returns:
channel

Deprecated:
Due to the overlap of the 2 channel wavelength bands, it's difficult to find out the channel from the single reference wavelength. Use read_channel instead.

Definition at line 129 of file deprecated.c.

References BLUE_CHANNEL, Channel, channel_names, RED_CHANNEL, SNIFSB_FILT_H, SNIFSB_FILT_L, SNIFSR_FILT_H, SNIFSR_FILT_L, and UNKNOWN_CHANNEL.


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