ccd8( int chip, float xccd, float yccd, float* x8, float* y8)
chip | chip |
xccd,yccd | pixel coordinate on chip |
x8,y8 | 8-chip coordinates |
fp2ccd(float xfp, float yfp, float* xccd, float* yccd, float lambda, char cam[])
xfp, yfp | focal plane coordinates |
xccd, yccd | CCD coordinates |
lambda | wavelength |
cam | camera = LONG/SHORT |
Getchipdat(int* nc, int* xc, int* yc, float* scale, float* theta, int* sx14, int* sy14, int* sx58, int* sy58)
nc | number of chips |
xc,yc | x,y coordinates of chip corners |
scale | scale |
theta | dewar rotation angle |
sx,y14 | x,y coordinate sign for chips 1-4 |
sx,y58 | x,y coordinate sign for chips 5-8 |
ccd8( int chip, float xccd, float yccd, float* x8, float* y8)
chip | chip |
xccd,yccd | pixel coordinate on chip |
x8,y8 | mosaic coordinates |
Readcd(char filename[])
filename | name of camera definition file (e.g. 'SITE') |
0 | if successful |
1 | if unsuccessful |
Readcof(char filename[])
filename | name of dewar offset file |
0 | if successful |
1 | if unsuccessful |
f_interpol(float** array, long naxes[], float xpos, float ypos)
i_interpol(int** array, long naxes[], float xpos, float ypos)
OpenCosParm(char* program-name)
0 | if successful |
1 | if unsuccessful |
OpenFitsFile(char* filename, fitsfile* fileptr, fitsdef* fitsdata);
fitsdef
contains the following elements:int | naxis | number of axes |
int | naxes[n] | size of each axis |
int | bitpix | bits/pixel |
int | binning | binning |
int | subrstr | subraster?1=yes 0=no |
int | subx[2] | x subraster indices |
int | suby[2] | y subraster indices |
int | overscan | number of overscan columns |
int | biaslins | number of bias rows |
char | dewarori[2] | dewar orientation Nor NS |
int | nshuffle | # of pixels of shuffle 0 if not n&s mode |
float | ranod | ra nod, in arc sec |
float | decnod | dec nod, in arc sec |
0 | if successful |
1 | if unsuccessful |
ReadobsDef(char* obsdeffilename,obsdef* obssdata);
obsdef
containes the following elements:int | gr_order | number of axes |
int | gr_angle | size of each axis |
float | temp | temperature |
char | grating[20] | grating |
char | dewoff[80] | dewar offset filename |
char | camera[6] | LONG or SHORT |
char | mode[7] | DIRECT or SPEC |
char | mask[80] | SMF filename |
char | dewar[5] | SITE |
int | nshuffle | # of pixels of shuffle 0 if not n&s mode |
float | ranod | ra nod, in arc sec |
float | decnod | dec nod, in arc sec |
0 | if successful |
1 | if unsuccessful |
ReadParm_s(char* paramname, char* paramval)
for stringsReadParm_i(char* paramname, int* paramval)
for integersReadparm_r(char* paramname, float* paramval)
for reals
0 | if successful |
1 | if unsuccessful |