CR2RE Pipeline Reference Manual 1.6.8
Functions
Photometry

Functions

int cr2res_photom_engine (const cpl_table *extr, const char *std_star_file, const char *setting, double ra, double dec, double gain, double exptime, int display, int display_order, int display_trace, cpl_table **throughput, cpl_propertylist **ext_plist)
 Compute the conversion/throughput/sensitivity high level.
 
cpl_bivector * cr2res_photom_conv_get_star (const cpl_table *tab, double ra, double dec)
 Get the wished std star photospheric flux.
 

Detailed Description

Function Documentation

◆ cr2res_photom_conv_get_star()

cpl_bivector * cr2res_photom_conv_get_star ( const cpl_table *  tab,
double  ra,
double  dec 
)

Get the wished std star photospheric flux.

Parameters
tabthe std stars table
raRA
decDEC
Returns
the bivector with the flux or NULL in error case

Definition at line 303 of file cr2res_photom.c.

Referenced by cr2res_photom_engine().

◆ cr2res_photom_engine()

int cr2res_photom_engine ( const cpl_table *  extr,
const char *  std_star_file,
const char *  setting,
double  ra,
double  dec,
double  gain,
double  exptime,
int  display,
int  display_order,
int  display_trace,
cpl_table **  throughput,
cpl_propertylist **  ext_plist 
)

Compute the conversion/throughput/sensitivity high level.

Parameters
extrthe extracted spectrum table
std_star_tabThe STD STARS table
settingThe setting
raRA
decDEC
gainThe gain
exptimeThe exposure time
displayFlag to allow display
display_orderOrder to display
display_traceTrace to display
throughput[out] the throughput table
ext_plist[out] the QCs
Returns
0 if ok, -1 otherwise

Definition at line 102 of file cr2res_photom.c.

References cr2res_dfs_CONVERSION_colname(), cr2res_dfs_SENSITIVITY_colname(), cr2res_dfs_SPEC_colname_parse(), cr2res_dfs_THROUGHPUT_colname(), cr2res_dfs_WAVELENGTH_colname(), cr2res_extract_EXTRACT1D_get_spectrum(), and cr2res_photom_conv_get_star().