- Timestamp:
- Feb 16, 2015, 8:17:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150112/Ohana/src/uniphot/include/setastrom.h
r37910 r37913 13 13 // we have one correction (an image) for each filter and chip 14 14 typedef struct { 15 int Nvalues; 16 int Nfilters; // number of filters 17 int NchipX; // number of chips in x 18 int NchipY; // number of chips in y 15 int Nx; // number of chips in x 16 int Ny; // number of chips in y 17 int Nfilter; // number of filters 18 int Ndir; // number of correction dimensions 19 20 int Nchips; // chip offset (Nx*Ny) 21 int Ngroup; // direction offset (Nx*Ny*Nfilters) 22 int Nvalues; // Nx*Ny*Nfilters*Ndir 23 24 int dX; // superpixel size 25 int dY; // superpixel size 26 19 27 int NxCCD; // number of pixels 28 int NyCCD; // number of pixels 29 20 30 Matrix **matrix; // allocate an array of pointers 21 // index = ix + iy*Nx + filter*N x*Ny + dir*Nx*Ny*Nfilter31 // index = ix + iy*Nx + filter*Nchips + dir*Ngroup 22 32 } CamCorrection; 23 33 … … 38 48 char *KH_FILE; 39 49 char *DCR_FILE; 50 char *CAM_FILE; 40 51 41 52 int KH_RESET; 42 53 int DCR_RESET; 54 int CAM_RESET; 43 55 44 56 SkyRegion UserPatch; … … 76 88 int load_dcr_correction (char *filename); 77 89 int get_dcr_correction (int filter, double *dX, double *dY, float Color); 90 91 int load_cam_correction (char *filename); 92 int get_cam_correction (int chipID, int filter, float Xccd, float Yccd, double *dX, double *dY);
Note:
See TracChangeset
for help on using the changeset viewer.
