ERIS Pipeline Reference Manual 1.9.2
Functions
FITS header protected access

Functions

const char * eris_pfits_get_ancestor (const cpl_propertylist *aHeaders)
 find out the ancestor of a file.
 
const char * eris_pfits_get_arcfile (const cpl_propertylist *plist)
 find out the arcfile

 
double eris_pfits_get_dit (const cpl_propertylist *plist)
 find out the DIT value
 
int eris_pfits_get_ndit (const cpl_propertylist *plist)
 find out the DIT value
 
double eris_pfits_get_exptime (const char *filename)
 find out the character string associated to the EXPTIME keyword
 
int eris_pfits_get_naxis1 (const cpl_propertylist *plist)
 find out the character string associated to the NAXIS1 keyword
 
int eris_pfits_get_naxis2 (const cpl_propertylist *plist)
 find out the character string associated to the NAXIS2 keyword
 
const char * eris_pfits_get_raw_filename (const cpl_propertylist *aHeaders, unsigned int idx)
 find out the i-th raw file name.
 
double eris_pfits_get_ia_fwhmlin (const cpl_propertylist *aHeaders)
 find out the image analysis FWHM from a linear fit (in arcsec)
 
double eris_pfits_get_fwhm_start (const cpl_propertylist *aHeaders)
 find out the ambient seeing at start of exposure (in arcsec)
 
double eris_pfits_get_fwhm_end (const cpl_propertylist *aHeaders)
 find out the ambient seeing at end of exposure (in arcsec)
 
double eris_pfits_get_cd33 (const cpl_propertylist *plist)
 find out the character string associated to the CDELT3 keyword
 
double eris_pfits_get_crval3 (const cpl_propertylist *plist)
 find out the character string associated to the CVRVAL3 keyword
 
double eris_pfits_get_cdelt3 (const cpl_propertylist *plist)
 find out the character string associated to the CDELT3 keyword
 
double eris_pfits_get_crpix3 (const cpl_propertylist *plist)
 find out the character string associated to the CRPIX3 keyword
 
double eris_pfits_get_crpix2 (const cpl_propertylist *plist)
 find out the character string associated to the CRPIX2 keyword
 
double eris_pfits_get_crpix1 (const cpl_propertylist *plist)
 find out the character string associated to the CRPIX1 keyword
 
double eris_pfits_get_airmass_start (const cpl_propertylist *aHeaders)
 find out the airmass at start of exposure
 
double eris_pfits_get_airmass_end (const cpl_propertylist *aHeaders)
 find out the airmass at end of exposure
 
double eris_pfits_get_mjdobs (const cpl_propertylist *aHeaders)
 find out the Julian Date of the observation
 
const char * eris_pfits_get_progid (const cpl_propertylist *aHeaders)
 find out the ESO program identification
 
long eris_pfits_get_obsid (const cpl_propertylist *aHeaders)
 find out the observation block id
 
const char * eris_pfits_get_pipefile (const cpl_propertylist *aHeaders)
 find out the PIPEFILE id
 
const char * eris_pfits_get_datamd5 (const cpl_propertylist *aHeaders)
 find out the PIPEFILE id
 

Detailed Description

Function Documentation

◆ eris_pfits_get_airmass_end()

double eris_pfits_get_airmass_end ( const cpl_propertylist *  aHeaders)

find out the airmass at end of exposure

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or 0.0 on error

Queries FITS header ESO TEL AIRM END

Definition at line 783 of file eris_pfits.c.

◆ eris_pfits_get_airmass_start()

double eris_pfits_get_airmass_start ( const cpl_propertylist *  aHeaders)

find out the airmass at start of exposure

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or 0.0 on error

Queries FITS header ESO TEL AIRM START

Definition at line 765 of file eris_pfits.c.

◆ eris_pfits_get_ancestor()

const char * eris_pfits_get_ancestor ( const cpl_propertylist *  aHeaders)

find out the ancestor of a file.

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or NULL on error

Queries FITS header for ESO.PRO.ANCESTOR

Definition at line 65 of file eris_pfits.c.

Referenced by eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_arcfile()

const char * eris_pfits_get_arcfile ( const cpl_propertylist *  plist)

find out the arcfile

Parameters
plistproperty list to read from
Returns
pointer to statically allocated character string

Definition at line 82 of file eris_pfits.c.

Referenced by eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_cd33()

double eris_pfits_get_cd33 ( const cpl_propertylist *  plist)

find out the character string associated to the CDELT3 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 686 of file eris_pfits.c.

◆ eris_pfits_get_cdelt3()

double eris_pfits_get_cdelt3 ( const cpl_propertylist *  plist)

find out the character string associated to the CDELT3 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 710 of file eris_pfits.c.

◆ eris_pfits_get_crpix1()

double eris_pfits_get_crpix1 ( const cpl_propertylist *  plist)

find out the character string associated to the CRPIX1 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 748 of file eris_pfits.c.

◆ eris_pfits_get_crpix2()

double eris_pfits_get_crpix2 ( const cpl_propertylist *  plist)

find out the character string associated to the CRPIX2 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 736 of file eris_pfits.c.

◆ eris_pfits_get_crpix3()

double eris_pfits_get_crpix3 ( const cpl_propertylist *  plist)

find out the character string associated to the CRPIX3 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 723 of file eris_pfits.c.

◆ eris_pfits_get_crval3()

double eris_pfits_get_crval3 ( const cpl_propertylist *  plist)

find out the character string associated to the CVRVAL3 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 699 of file eris_pfits.c.

◆ eris_pfits_get_datamd5()

const char * eris_pfits_get_datamd5 ( const cpl_propertylist *  aHeaders)

find out the PIPEFILE id

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or -1 on error

Queries FITS header for PIPEFILE

Definition at line 887 of file eris_pfits.c.

◆ eris_pfits_get_dit()

double eris_pfits_get_dit ( const cpl_propertylist *  plist)

find out the DIT value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 98 of file eris_pfits.c.

Referenced by eris_compute_gain(), eris_ifu_combine_pbp(), eris_ifu_cube_collapse_mean_and_save(), and eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_exptime()

double eris_pfits_get_exptime ( const char *  filename)

find out the character string associated to the EXPTIME keyword

Parameters
filenamesinfoni FITS file name
Returns
pointer to statically allocated character string

Definition at line 137 of file eris_pfits.c.

◆ eris_pfits_get_fwhm_end()

double eris_pfits_get_fwhm_end ( const cpl_propertylist *  aHeaders)

find out the ambient seeing at end of exposure (in arcsec)

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or 0.0 on error

Queries FITS header ESO TEL AMBI FWHM END

Definition at line 669 of file eris_pfits.c.

◆ eris_pfits_get_fwhm_start()

double eris_pfits_get_fwhm_start ( const cpl_propertylist *  aHeaders)

find out the ambient seeing at start of exposure (in arcsec)

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or 0.0 on error

Queries FITS header ESO TEL AMBI FWHM START

Definition at line 649 of file eris_pfits.c.

◆ eris_pfits_get_ia_fwhmlin()

double eris_pfits_get_ia_fwhmlin ( const cpl_propertylist *  aHeaders)

find out the image analysis FWHM from a linear fit (in arcsec)

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or 0.0 on error

Queries FITS header ESO TEL IA FWHMLIN

Definition at line 629 of file eris_pfits.c.

◆ eris_pfits_get_mjdobs()

double eris_pfits_get_mjdobs ( const cpl_propertylist *  aHeaders)

find out the Julian Date of the observation

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or 0.0 on error

Queries FITS header MJD-OBS

Definition at line 811 of file eris_pfits.c.

Referenced by eris_get_mjd_obs(), and eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_naxis1()

int eris_pfits_get_naxis1 ( const cpl_propertylist *  plist)

find out the character string associated to the NAXIS1 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 155 of file eris_pfits.c.

Referenced by eris_ifu_combine_read_image_planes().

◆ eris_pfits_get_naxis2()

int eris_pfits_get_naxis2 ( const cpl_propertylist *  plist)

find out the character string associated to the NAXIS2 keyword

Parameters
plistFITS header
Returns
keyword value

Definition at line 168 of file eris_pfits.c.

Referenced by eris_ifu_combine_read_image_planes().

◆ eris_pfits_get_ndit()

int eris_pfits_get_ndit ( const cpl_propertylist *  plist)

find out the DIT value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 117 of file eris_pfits.c.

Referenced by eris_ifu_combine_pbp(), eris_ifu_cube_collapse_mean_and_save(), and eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_obsid()

long eris_pfits_get_obsid ( const cpl_propertylist *  aHeaders)

find out the observation block id

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or -1 on error

Queries FITS header for ESO.OBS.ID

Definition at line 848 of file eris_pfits.c.

Referenced by eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_pipefile()

const char * eris_pfits_get_pipefile ( const cpl_propertylist *  aHeaders)

find out the PIPEFILE id

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or -1 on error

Queries FITS header for PIPEFILE

Definition at line 867 of file eris_pfits.c.

Referenced by eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_progid()

const char * eris_pfits_get_progid ( const cpl_propertylist *  aHeaders)

find out the ESO program identification

Parameters
aHeadersproperty list/headers to read from
Returns
the requested value or NULL on error

Queries FITS header for ESO.OBS.PROG.ID

Definition at line 829 of file eris_pfits.c.

Referenced by eris_ifu_sdp_properties_collect().

◆ eris_pfits_get_raw_filename()

const char * eris_pfits_get_raw_filename ( const cpl_propertylist *  aHeaders,
unsigned int  idx 
)

find out the i-th raw file name.

Parameters
aHeadersproperty list/headers to read from
idxraw file index
Returns
the requested value or NULL on error

Queries FITS header for ESO.PRO.REC1.RAW<idx>.NAME

Definition at line 609 of file eris_pfits.c.

Referenced by eris_ifu_sdp_properties_collect().