VIRCAM Pipeline
1.3.4
|
These are support routines used for defining and manipulating image and table world coordinate system information. More...
Functions | |
void | vircam_xytoradec (cpl_wcs *wcs, double x, double y, double *ra, double *dec) |
void | vircam_radectoxy (cpl_wcs *wcs, double ra, double dec, double *x, double *y) |
void | vircam_xytoxy_list (cpl_wcs *wcs1, cpl_wcs *wcs2, int nc, double *x_1, double *y_1, double *x_2, double *y_2) |
void | vircam_radectoxieta (cpl_wcs *wcs, double ra, double dec, double *xi, double *eta) |
int | vircam_coverage (cpl_propertylist *plist, int fudge, double *ra1, double *ra2, double *dec1, double *dec2, int *status) |
int | vircam_crpixshift (cpl_propertylist *p, double scalefac, double sh[]) |
int | vircam_rescalecd (cpl_propertylist *p, double scalefac) |
int | vircam_diffxywcs (cpl_wcs *wcs, cpl_wcs *wcsref, float *xoff, float *yoff, int *status) |
int | vircam_removewcs (cpl_propertylist *p, int *status) |
int | vircam_tabwcs (cpl_propertylist *p, int xcol, int ycol, int *status) |
These are support routines used for defining and manipulating image and table world coordinate system information.
int vircam_coverage | ( | cpl_propertylist * | plist, |
int | fudge, | ||
double * | ra1, | ||
double * | ra2, | ||
double * | dec1, | ||
double * | dec2, | ||
int * | status | ||
) |
plist | Input property list |
fudge | Percentage fudge factor |
ra1 | Lower RA |
ra2 | Upper RA |
dec1 | Lower Dec |
dec2 | Upper Dec |
status | Standard input and output vircam status variable |
Definition at line 347 of file vircam_wcsutils.c.
References vircam_xytoradec().
Referenced by vircam_getstds().
int vircam_crpixshift | ( | cpl_propertylist * | p, |
double | scalefac, | ||
double | sh[] | ||
) |
p | The property list defining the header for the file. This must have a valid FITS WCS. |
scalefac | The scaling factor for both axes. |
sh | The shift for both axes |
Definition at line 466 of file vircam_wcsutils.c.
Referenced by vircam_interleave().
int vircam_diffxywcs | ( | cpl_wcs * | wcs, |
cpl_wcs * | wcsref, | ||
float * | xoff, | ||
float * | yoff, | ||
int * | status | ||
) |
wcs | The wcs structure of the programme image |
wcsref | The wcs structure of the reference image |
xoff | The X offset |
yoff | The Y offset |
status | Standard input and output vircam status variable |
Definition at line 653 of file vircam_wcsutils.c.
References vircam_radectoxy(), and vircam_xytoradec().
Referenced by vircam_jmp_dither_offsets().
void vircam_radectoxieta | ( | cpl_wcs * | wcs, |
double | ra, | ||
double | dec, | ||
double * | xi, | ||
double * | eta | ||
) |
wcs | Input WCS structure |
ra | Input RA |
dec | Input Dec |
xi | Output xi in radians |
eta | Output eta in radians |
Definition at line 283 of file vircam_wcsutils.c.
Referenced by vircam_platesol().
void vircam_radectoxy | ( | cpl_wcs * | wcs, |
double | ra, | ||
double | dec, | ||
double * | x, | ||
double * | y | ||
) |
wcs | Input WCS structure |
ra | Input RA |
dec | Input Dec |
x | Output X |
y | Output Y |
Definition at line 152 of file vircam_wcsutils.c.
Referenced by vircam_diffxywcs(), vircam_getstds(), and vircam_jmp_interleave().
int vircam_removewcs | ( | cpl_propertylist * | p, |
int * | status | ||
) |
p | The input propertylist |
status | Standard input and output vircam status variable |
Definition at line 716 of file vircam_wcsutils.c.
Referenced by vircam_jmp_save_catalogue(), vircam_jmp_save_illum(), and vircam_tabwcs().
int vircam_rescalecd | ( | cpl_propertylist * | p, |
double | scalefac | ||
) |
p | The property list defining the header for the file. This must have a valid FITS WCS. |
scalefac | The scaling factor for both axes. |
Definition at line 557 of file vircam_wcsutils.c.
Referenced by vircam_interleave().
int vircam_tabwcs | ( | cpl_propertylist * | p, |
int | xcol, | ||
int | ycol, | ||
int * | status | ||
) |
p | The input propertylist |
xcol | The column number for the X position |
ycol | The column number for the Y position |
status | Standard input and output vircam status variable |
Definition at line 764 of file vircam_wcsutils.c.
References vircam_removewcs(), and vircam_rename_property().
Referenced by imcore_conf().
void vircam_xytoradec | ( | cpl_wcs * | wcs, |
double | x, | ||
double | y, | ||
double * | ra, | ||
double * | dec | ||
) |
wcs | Input WCS structure |
x | Input X |
y | Input Y |
ra | Output RA |
dec | Output Dec |
Definition at line 94 of file vircam_wcsutils.c.
Referenced by vircam_coverage(), vircam_diffxywcs(), vircam_jmp_interleave(), vircam_jmp_wcsfit(), and vircam_platesol().
void vircam_xytoxy_list | ( | cpl_wcs * | wcs1, |
cpl_wcs * | wcs2, | ||
int | nc, | ||
double * | x_1, | ||
double * | y_1, | ||
double * | x_2, | ||
double * | y_2 | ||
) |
wcs1 | Input WCS structure for the first image |
wcs2 | Input WCS structure for the second image |
nc | The number of input coordinates |
x_1 | Input X coordinate list |
y_1 | Input Y coordinate list |
x_2 | The output X coordinate list |
y_2 | The output Y coordinate list |
Definition at line 213 of file vircam_wcsutils.c.
Referenced by vircam_grout().