In/Out on propertylist cards


Functions

char * sinfo_paf_query (char *filename, char *key)
 Query a PAF file for a value.
char * sinfo_pfits_get_mode (const cpl_propertylist *plist)
 find out the character string associated to DET.MODE.NAME
double sinfo_pfits_get_exp_time (const cpl_propertylist *plist)
 find out the value of the EXPTIME keyword
double sinfo_pfits_get_ditndit (const char *name)
double sinfo_pfits_get_exptime (const char *filename)
 find out the character string associated to the EXPTIME keyword
int sinfo_pfits_get_rom (const cpl_propertylist *plist)
 find out the character string associated to the DET.NCORRS key.
int sinfo_pfits_get_expno (const cpl_propertylist *plist)
 find out the number of the current exposition
double sinfo_pfits_get_airmass_start (const cpl_propertylist *plist)
 find out the airmass start
double sinfo_pfits_get_airmass_end (const cpl_propertylist *plist)
 find out the airmass end
double sinfo_pfits_get_alpha (const cpl_propertylist *plist)
 find out the alpha angle
const char * sinfo_pfits_get_arcfile (const cpl_propertylist *plist)
 find out the arcfile
const char * sinfo_pfits_get_rec1raw1name (const cpl_propertylist *plist)
 find out the arcfile
const char * sinfo_pfits_get_ins_setup (const cpl_propertylist *plist)
 find out the instrument setup id
double sinfo_pfits_get_wlen (const cpl_propertylist *plist)
 find out the central wavelength
int sinfo_pfits_get_chop_ncycles (const cpl_propertylist *plist)
 find out the number of chopping cycles
double sinfo_pfits_get_pixscale (const cpl_propertylist *plist)
 find out the number of chopping cycles
double sinfo_pfits_get_posangle (const cpl_propertylist *plist)
 find out the value of the CUMOFFSETX keyword in a header
double sinfo_pfits_get_DEC (const cpl_propertylist *plist)
 find out the value of the CUMOFFSETX keyword in a header
double sinfo_pfits_get_cumoffsetx (const cpl_propertylist *plist)
 find out the value of the CUMOFFSETX keyword in a header
double sinfo_pfits_get_cumoffsety (const cpl_propertylist *plist)
 find out the value of the CUMOFFSETY keyword in a header
const char * sinfo_pfits_get_date_obs (const cpl_propertylist *plist)
 find out the date of observation
double sinfo_pfits_get_delta (const cpl_propertylist *plist)
 find out the DELTA keyword in a SINFONI header
double sinfo_pfits_get_dec (const cpl_propertylist *plist)
 find out the DEC keyword in a SINFONI header
double sinfo_pfits_get_dit (const cpl_propertylist *plist)
 find out the character string associated to the DIT keyword in an sinfoni header
float sinfo_pfits_get_pixelscale (const char *name)
 find out the value of the INS OPTI1 NAME keyword in a header
const char * sinfo_pfits_get_ncorrs_name (const cpl_propertylist *plist)
 find out the character string associated to the DIT keyword in an sinfoni header
const char * sinfo_pfits_get_band (const cpl_propertylist *plist)
 find out the character string associated to the FILT1.NAME keyword in an sinfoni header
const char * sinfo_pfits_get_dpr_catg (const cpl_propertylist *plist)
 find out the data category as defined by the DataFlow
const char * sinfo_pfits_get_dpr_tech (const cpl_propertylist *plist)
 find out the data tech as defined by the DataFlow
const char * sinfo_pfits_get_dpr_type (const cpl_propertylist *plist)
 find out the data type as defined by the DataFlow
const char * sinfo_pfits_get_filter_im (const cpl_propertylist *plist)
 find out the filter in imaging
const char * sinfo_pfits_get_filter_spec (const cpl_propertylist *plist)
 find out the filter in spectroscopy
double sinfo_pfits_get_focus (const cpl_propertylist *plist)
 find out the character string associated to the FOCUS keyword
const char * sinfo_pfits_get_frame_type (const cpl_propertylist *plist)
 find out the frame type
const char * sinfo_pfits_get_instrument (const cpl_propertylist *plist)
 find out the character string associated to the instrument
double sinfo_pfits_get_mjdobs (const cpl_propertylist *plist)
 find out the mjd-obs keyword
double sinfo_pfits_get_monoc_pos (const cpl_propertylist *plist)
 find out the character string associated to INS.MONOC1.POS
int sinfo_pfits_get_ndit (const cpl_propertylist *plist)
 find out the character string associated to the NDIT keyword
int sinfo_pfits_get_naxis1 (const cpl_propertylist *plist)
 find out the character string associated to the NAXIS1 keyword
int sinfo_pfits_get_naxis2 (const cpl_propertylist *plist)
 find out the character string associated to the NAXIS2 keyword
int sinfo_pfits_get_naxis3 (const cpl_propertylist *plist)
 find out the character string associated to the NAXIS3 keyword
int sinfo_pfits_get_crpix1 (const cpl_propertylist *plist)
 find out the character string associated to the CRPIX1 keyword
int sinfo_pfits_get_crpix2 (const cpl_propertylist *plist)
 find out the character string associated to the CRPIX2 keyword
int sinfo_pfits_get_crpix3 (const cpl_propertylist *plist)
 find out the character string associated to the CRPIX3 keyword
double sinfo_pfits_get_cdelt1 (const cpl_propertylist *plist)
 find out the character string associated to the CDELT1 keyword
double sinfo_pfits_get_cdelt2 (const cpl_propertylist *plist)
 find out the character string associated to the CDELT2 keyword
double sinfo_pfits_get_cdelt3 (const cpl_propertylist *plist)
 find out the character string associated to the CDELT3 keyword
double sinfo_pfits_get_crval1 (const cpl_propertylist *plist)
 find out the character string associated to the CVRVAL1 keyword
double sinfo_pfits_get_crval2 (const cpl_propertylist *plist)
 find out the character string associated to the CVRVAL2 keyword
double sinfo_pfits_get_crval3 (const cpl_propertylist *plist)
 find out the character string associated to the CVRVAL3 keyword
int sinfo_pfits_get_numbexp (const cpl_propertylist *plist)
 find out the number of expositions
const char * sinfo_pfits_get_obs_id (const cpl_propertylist *plist)
 find out the OBS ID keyword
int sinfo_pfits_get_nodpos (const cpl_propertylist *plist)
 find out the character string associated to nodding position
double sinfo_pfits_get_ra (const cpl_propertylist *plist)
 find out the RA keyword in a SINFONI header
const char * sinfo_pfits_get_starname (const cpl_propertylist *plist)
 find out the std star name
double sinfo_pfits_get_resol (const cpl_propertylist *plist)
 find out the spectral resolution
const char * sinfo_pfits_get_templateid (const cpl_propertylist *plist)
 find out the template id

Detailed Description

TBD

Function Documentation

char * sinfo_paf_query char *  filename,
char *  key
 

Query a PAF file for a value.

Parameters:
filename Name of the PAF to query.
key Name of the key to query.
Returns:
1 pointer to statically allocated string, or NULL.
This function parses a PAF file and returns the value associated to a given key, as a pointer to an internal statically allocated string. Do not try to free or modify the contents of the returned string!

If the key is not found, this function returns NULL.

Definition at line 114 of file sinfo_pfits.c.

References sinfo_msg_error.

double sinfo_pfits_get_airmass_end const cpl_propertylist *  plist  ) 
 

find out the airmass end

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 331 of file sinfo_pfits.c.

double sinfo_pfits_get_airmass_start const cpl_propertylist *  plist  ) 
 

find out the airmass start

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 317 of file sinfo_pfits.c.

double sinfo_pfits_get_alpha const cpl_propertylist *  plist  ) 
 

find out the alpha angle

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 344 of file sinfo_pfits.c.

const char* sinfo_pfits_get_arcfile const cpl_propertylist *  plist  ) 
 

find out the arcfile

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 357 of file sinfo_pfits.c.

const char* sinfo_pfits_get_band const cpl_propertylist *  plist  ) 
 

find out the character string associated to the FILT1.NAME keyword in an sinfoni header

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 579 of file sinfo_pfits.c.

double sinfo_pfits_get_cdelt1 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CDELT1 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 808 of file sinfo_pfits.c.

double sinfo_pfits_get_cdelt2 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CDELT2 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 822 of file sinfo_pfits.c.

double sinfo_pfits_get_cdelt3 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CDELT3 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 836 of file sinfo_pfits.c.

Referenced by sinfo_new_cubes_coadd(), sinfo_new_stdstar(), sinfo_utl_cube2ima(), and sinfo_utl_cube2spectrum().

int sinfo_pfits_get_chop_ncycles const cpl_propertylist *  plist  ) 
 

find out the number of chopping cycles

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 415 of file sinfo_pfits.c.

int sinfo_pfits_get_crpix1 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CRPIX1 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 767 of file sinfo_pfits.c.

int sinfo_pfits_get_crpix2 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CRPIX2 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 781 of file sinfo_pfits.c.

int sinfo_pfits_get_crpix3 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CRPIX3 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 795 of file sinfo_pfits.c.

Referenced by sinfo_new_cubes_coadd(), sinfo_new_stdstar(), and sinfo_utl_cube2spectrum().

double sinfo_pfits_get_crval1 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CVRVAL1 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 850 of file sinfo_pfits.c.

double sinfo_pfits_get_crval2 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CVRVAL2 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 862 of file sinfo_pfits.c.

double sinfo_pfits_get_crval3 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the CVRVAL3 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 874 of file sinfo_pfits.c.

Referenced by sinfo_new_cubes_coadd(), sinfo_new_stdstar(), sinfo_utl_cube2ima(), and sinfo_utl_cube2spectrum().

double sinfo_pfits_get_cumoffsetx const cpl_propertylist *  plist  ) 
 

find out the value of the CUMOFFSETX keyword in a header

Parameters:
plist iput propertylist
Returns:
pointer to statically allocated character string

Definition at line 468 of file sinfo_pfits.c.

Referenced by sinfo_auto_size_cube2(), and sinfo_auto_size_cube3().

double sinfo_pfits_get_cumoffsety const cpl_propertylist *  plist  ) 
 

find out the value of the CUMOFFSETY keyword in a header

Parameters:
plist input propertylist
Returns:
pointer to statically allocated character string

Definition at line 480 of file sinfo_pfits.c.

Referenced by sinfo_auto_size_cube2(), and sinfo_auto_size_cube3().

const char* sinfo_pfits_get_date_obs const cpl_propertylist *  plist  ) 
 

find out the date of observation

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 492 of file sinfo_pfits.c.

double sinfo_pfits_get_dec const cpl_propertylist *  plist  ) 
 

find out the DEC keyword in a SINFONI header

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 520 of file sinfo_pfits.c.

double sinfo_pfits_get_DEC const cpl_propertylist *  plist  ) 
 

find out the value of the CUMOFFSETX keyword in a header

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 455 of file sinfo_pfits.c.

double sinfo_pfits_get_delta const cpl_propertylist *  plist  ) 
 

find out the DELTA keyword in a SINFONI header

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 506 of file sinfo_pfits.c.

double sinfo_pfits_get_dit const cpl_propertylist *  plist  ) 
 

find out the character string associated to the DIT keyword in an sinfoni header

Parameters:
plist FITS header
Returns:
dit value

Definition at line 533 of file sinfo_pfits.c.

const char* sinfo_pfits_get_dpr_catg const cpl_propertylist *  plist  ) 
 

find out the data category as defined by the DataFlow

Parameters:
plist FITS header
Returns:
statically allocated char string, no need to free() it

Definition at line 591 of file sinfo_pfits.c.

const char* sinfo_pfits_get_dpr_tech const cpl_propertylist *  plist  ) 
 

find out the data tech as defined by the DataFlow

Parameters:
plist FITS header
Returns:
statically allocated char string, no need to free() it

Definition at line 603 of file sinfo_pfits.c.

const char* sinfo_pfits_get_dpr_type const cpl_propertylist *  plist  ) 
 

find out the data type as defined by the DataFlow

Parameters:
plist FITS header
Returns:
statically allocated char string, no need to free() it

Definition at line 615 of file sinfo_pfits.c.

double sinfo_pfits_get_exp_time const cpl_propertylist *  plist  ) 
 

find out the value of the EXPTIME keyword

Parameters:
plist pointer to propertylist
Returns:
keyword value

Definition at line 228 of file sinfo_pfits.c.

int sinfo_pfits_get_expno const cpl_propertylist *  plist  ) 
 

find out the number of the current exposition

Parameters:
plist input propertylist
Returns:
keyword value

Definition at line 302 of file sinfo_pfits.c.

double sinfo_pfits_get_exptime const char *  filename  ) 
 

find out the character string associated to the EXPTIME keyword

Parameters:
filename sinfoni FITS file name
Returns:
pointer to statically allocated character string

Definition at line 267 of file sinfo_pfits.c.

References sinfo_free_propertylist().

Referenced by sinfo_new_dark(), and sinfo_utl_cube_combine().

const char* sinfo_pfits_get_filter_im const cpl_propertylist *  plist  ) 
 

find out the filter in imaging

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 628 of file sinfo_pfits.c.

const char* sinfo_pfits_get_filter_spec const cpl_propertylist *  plist  ) 
 

find out the filter in spectroscopy

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 640 of file sinfo_pfits.c.

double sinfo_pfits_get_focus const cpl_propertylist *  plist  ) 
 

find out the character string associated to the FOCUS keyword

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 652 of file sinfo_pfits.c.

const char* sinfo_pfits_get_frame_type const cpl_propertylist *  plist  ) 
 

find out the frame type

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 665 of file sinfo_pfits.c.

const char* sinfo_pfits_get_ins_setup const cpl_propertylist *  plist  ) 
 

find out the instrument setup id

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 382 of file sinfo_pfits.c.

const char* sinfo_pfits_get_instrument const cpl_propertylist *  plist  ) 
 

find out the character string associated to the instrument

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 677 of file sinfo_pfits.c.

double sinfo_pfits_get_mjdobs const cpl_propertylist *  plist  ) 
 

find out the mjd-obs keyword

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 689 of file sinfo_pfits.c.

char* sinfo_pfits_get_mode const cpl_propertylist *  plist  ) 
 

find out the character string associated to DET.MODE.NAME

Parameters:
plist pointer to propertylist
Returns:
pointer to statically allocated character string

Definition at line 214 of file sinfo_pfits.c.

double sinfo_pfits_get_monoc_pos const cpl_propertylist *  plist  ) 
 

find out the character string associated to INS.MONOC1.POS

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 702 of file sinfo_pfits.c.

int sinfo_pfits_get_naxis1 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the NAXIS1 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 726 of file sinfo_pfits.c.

int sinfo_pfits_get_naxis2 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the NAXIS2 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 739 of file sinfo_pfits.c.

int sinfo_pfits_get_naxis3 const cpl_propertylist *  plist  ) 
 

find out the character string associated to the NAXIS3 keyword

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 752 of file sinfo_pfits.c.

Referenced by sinfo_utl_cube2ima().

const char* sinfo_pfits_get_ncorrs_name const cpl_propertylist *  plist  ) 
 

find out the character string associated to the DIT keyword in an sinfoni header

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 565 of file sinfo_pfits.c.

int sinfo_pfits_get_ndit const cpl_propertylist *  plist  ) 
 

find out the character string associated to the NDIT keyword

Parameters:
plist FITS header
Returns:
value of NDIT keyword

Definition at line 714 of file sinfo_pfits.c.

int sinfo_pfits_get_nodpos const cpl_propertylist *  plist  ) 
 

find out the character string associated to nodding position

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 910 of file sinfo_pfits.c.

int sinfo_pfits_get_numbexp const cpl_propertylist *  plist  ) 
 

find out the number of expositions

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 886 of file sinfo_pfits.c.

const char* sinfo_pfits_get_obs_id const cpl_propertylist *  plist  ) 
 

find out the OBS ID keyword

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 898 of file sinfo_pfits.c.

float sinfo_pfits_get_pixelscale const char *  name  ) 
 

find out the value of the INS OPTI1 NAME keyword in a header

Parameters:
name filename
Returns:
pixel scale

Definition at line 544 of file sinfo_pfits.c.

References sinfo_free_propertylist().

double sinfo_pfits_get_pixscale const cpl_propertylist *  plist  ) 
 

find out the number of chopping cycles

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 429 of file sinfo_pfits.c.

Referenced by sinfo_new_cubes_build(), sinfo_new_cubes_coadd(), and sinfo_new_objnod().

double sinfo_pfits_get_posangle const cpl_propertylist *  plist  ) 
 

find out the value of the CUMOFFSETX keyword in a header

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 443 of file sinfo_pfits.c.

Referenced by sinfo_new_cubes_build(), sinfo_new_cubes_coadd(), and sinfo_new_objnod().

double sinfo_pfits_get_ra const cpl_propertylist *  plist  ) 
 

find out the RA keyword in a SINFONI header

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 924 of file sinfo_pfits.c.

const char* sinfo_pfits_get_rec1raw1name const cpl_propertylist *  plist  ) 
 

find out the arcfile

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 369 of file sinfo_pfits.c.

double sinfo_pfits_get_resol const cpl_propertylist *  plist  ) 
 

find out the spectral resolution

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 948 of file sinfo_pfits.c.

int sinfo_pfits_get_rom const cpl_propertylist *  plist  ) 
 

find out the character string associated to the DET.NCORRS key.

Parameters:
plist input propertylist
Returns:
pointer to statically allocated character string

Definition at line 288 of file sinfo_pfits.c.

const char* sinfo_pfits_get_starname const cpl_propertylist *  plist  ) 
 

find out the std star name

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 936 of file sinfo_pfits.c.

const char* sinfo_pfits_get_templateid const cpl_propertylist *  plist  ) 
 

find out the template id

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 960 of file sinfo_pfits.c.

double sinfo_pfits_get_wlen const cpl_propertylist *  plist  ) 
 

find out the central wavelength

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 402 of file sinfo_pfits.c.


Generated on Wed Jan 17 08:33:45 2007 for SINFONI Pipeline Reference Manual by  doxygen 1.4.4