atDustGetval
Routines which get values from the dust maps
DESCRIPTION:
Return the extinction in each filter at the specified galactic
coordinates. This routine calls "atDustGetvalFast" at the specified
galactic coordinates, then uses hardwired Rv values to convert the
returned E(B-V) value to extinction values in each of the SDSS
filters.
SIGNATURE:
RET_CODE
atExtinction(double l, /* IN: Galactic longitude (degrees) */
double b, /* IN: Galactic latitude (degrees) */
float *u, /* OUT: extinction in u band */
float *g, /* OUT: extinction in g band */
float *r, /* OUT: extinction in r band */
float *i, /* OUT: extinction in i band */
float *z /* OUT: extinction in z band */
)
DESCRIPTION:
Return the value of the dust map at the location.
Additional information is in the README file.
SIGNATURE:
RET_CODE atDustGetval(
double gall, /* galactic longitude in degrees */
double galb, /* galactic latitude in degrees */
char *pMapName, /* Ebv, I100, X, T, mask */
int interpolate, /* 1=linear interp over 4 pixels */
int verbose, /* 1=verbose on */
double *value /* the return value */
)
DESCRIPTION:
Return the values of the dust map at the locations.
Additional information is in the README file.
SIGNATURE:
RET_CODE atVDustGetval(
VECTOR *gall, /* galactic longitude in degrees */
VECTOR *galb, /* galactic latitude in degrees */
char *pMapName, /* Ebv, I100, X, T, mask */
int interpolate, /* 1=linear interp over 4 pixels */
int verbose, /* 1=verbose on */
VECTOR *value /* the return value */
)
DESCRIPTION:
Return the value of the dust map at the location.
Additional information is in the README file.
Read in FITS files first time, then use values in region after that.
SIGNATURE:
RET_CODE atDustGetvalFast(
double gall, /* galactic longitude in degrees */
double galb, /* galactic latitude in degrees */
char *pMapName, /* Ebv, I100, X, T, mask */
int interpolate, /* 1=linear interp over 4 pixels */
int verbose, /* 1=verbose on */
double *value /* the return value */
)
DESCRIPTION:
Return the values of the dust map at the locations.
Additional information is in the README file.
SIGNATURE:
RET_CODE atVDustGetvalFast(
VECTOR *gall, /* galactic longitude in degrees */
VECTOR *galb, /* galactic latitude in degrees */
char *pMapName, /* Ebv, I100, X, T, mask */
int interpolate, /* 1=linear interp over 4 pixels */
int verbose, /* 1=verbose on */
VECTOR *value /* the return value */
)
DESCRIPTION:
Remove region of FITS image read in by atDustGetvalFast.
Additional information is in the README
file.
SIGNATURE:
RET_CODE atDustGetvalFastClean(
char *pMapName /* Ebv, I100, X, T, mask */
)
DESCRIPTION:
Returns the information for a value obtained from the dust mask
using the atDustGetval family of programs. Information is returned in
a string format.
Additional information is in the README
file.
SIGNATURE:
RET_CODE atDustMaskParse(
double maskval, /*value returned from dust mask */
char *maskinfo /*the return info */
)