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_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
double sinfo_pfits_get_targ_alpha (const cpl_propertylist *plist)
 find out the targ alpha angle
double sinfo_pfits_get_targ_delta (const cpl_propertylist *plist)
 find out the targ delta 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 381 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 603 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 832 of file sinfo_pfits.c.

Referenced by sinfo_stectrum_ima2table().

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 846 of file sinfo_pfits.c.

Referenced by sinfo_stectrum_ima2table().

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 860 of file sinfo_pfits.c.

Referenced by 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 439 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 791 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 805 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 819 of file sinfo_pfits.c.

Referenced by 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 874 of file sinfo_pfits.c.

Referenced by sinfo_stectrum_ima2table().

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 886 of file sinfo_pfits.c.

Referenced by sinfo_stectrum_ima2table().

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 898 of file sinfo_pfits.c.

Referenced by 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 492 of file sinfo_pfits.c.

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 504 of file sinfo_pfits.c.

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 516 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 544 of file sinfo_pfits.c.

Referenced by sinfo_baryvel().

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 479 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 530 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 557 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 615 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 627 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 639 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_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 652 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 664 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 676 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 689 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 406 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 701 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 713 of file sinfo_pfits.c.

Referenced by sinfo_baryvel().

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 726 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 750 of file sinfo_pfits.c.

Referenced by sinfo_utl_cube_combine().

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 763 of file sinfo_pfits.c.

Referenced by sinfo_utl_cube_combine().

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 776 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 589 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 738 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 934 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 910 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 922 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 568 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 453 of file sinfo_pfits.c.

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 467 of file sinfo_pfits.c.

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 948 of file sinfo_pfits.c.

Referenced by sinfo_baryvel().

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 393 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 972 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 960 of file sinfo_pfits.c.

double sinfo_pfits_get_targ_alpha ( const cpl_propertylist *  plist  ) 

find out the targ alpha angle

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

Definition at line 356 of file sinfo_pfits.c.

double sinfo_pfits_get_targ_delta ( const cpl_propertylist *  plist  ) 

find out the targ delta angle

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

Definition at line 369 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 984 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 426 of file sinfo_pfits.c.


Generated on 8 Mar 2011 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1