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

calib/lib/proc_extinct.c File Reference

Photometric extinction routines. More...

Go to the source code of this file.

Functions

float compute_default_extinction (float lambda)
 Compute default extinction from nominal Mauna-Kea coefficients.

double compute_extinction (double lbda[], double kext[], int n, float lambda)
 Compute extinction according to input extinction coeffs.


Detailed Description

Photometric extinction routines.

Copyright:
(c) 2005 INPL - CRAL-Obs. de Lyon
Date:
Tue Jan 11 16:06:02 2005
Author:
Yannick Copin <y.copin@ipnl.in2p3.fr>

Author
ycopin
Version:
Adapted from extinct.c (Sauron-6.1)

Revision
1.3
Id
proc_extinct.c,v 1.3 2005/01/24 16:05:25 ycopin Exp

Todo:
Use GSL-interpolation instead of N*G

Definition in file proc_extinct.c.


Function Documentation

float compute_default_extinction float  lambda  ) 
 

Compute default extinction from nominal Mauna-Kea coefficients.

Parameters:
lambda Wavelength
Returns:
Extinction (in mag./airmass)

Todo:
Unify with compute_extinction. Remove call to N*G.

Definition at line 39 of file proc_extinct.c.

Referenced by Apply_corrflux(), and main().

double compute_extinction double  lbda[],
double  kext[],
int  n,
float  lambda
 

Compute extinction according to input extinction coeffs.

Parameters:
lbda 
kext Extinction coefficients (in mag./airmass)
n Number of extinction coefficients
lambda Wavelength
Returns:
Extinction (in mag./airmass)

Todo:
Unify with compute_extinction. Remove call to N*G. Use static variables after initialization.

Definition at line 100 of file proc_extinct.c.


Generated on Wed Oct 26 23:59:40 2005 for Snifs by doxygen 1.3.5