Changeset 37908
- Timestamp:
- Feb 14, 2015, 7:58:58 AM (11 years ago)
- Location:
- branches/eam_branches/ipp-20150112/Ohana/src/uniphot
- Files:
-
- 1 added
- 2 edited
-
include/setastrom.h (modified) (1 diff)
-
src/cam_correction.c (added)
-
src/update_catalog_setastrom.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150112/Ohana/src/uniphot/include/setastrom.h
r37807 r37908 10 10 double *y2; 11 11 } Spline; 12 13 // we have one correction (an image) for each filter and chip 14 typedef struct { 15 int Nvalues; 16 int Nfilters; // number of filters 17 int Nx; // number of chips in x 18 int Ny; // number of chips in y 19 Matrix **matrix; // allocate an array of pointers 20 // index = ix + iy*Nx + filter*Nx*Ny + dir*Nx*Ny*Nfilter 21 } CamCorrection; 12 22 13 23 /* global variables set in parameter file */ -
branches/eam_branches/ipp-20150112/Ohana/src/uniphot/src/update_catalog_setastrom.c
r37807 r37908 117 117 } 118 118 119 /**** CAM section ****/ 120 121 double dX_CAM = 0.0; 122 double dY_CAM = 0.0; 123 if (CAM_FILE && doCAM) { 124 125 // camera systematic correction ("astroflat") depends on only the X,Y coordinate, 126 // the filter, and the chip 127 128 int filtCode = (int)(measure->photcode / 100); // eg, 101 = r 129 130 // correction is in arcseconds 131 get_cam_correction (0, chipID, filtCode, measure->Xccd, measure->Yccd, &dX_CAM, &dY_CAM); 132 } 133 119 134 /**** DCR section ****/ 120 135
Note:
See TracChangeset
for help on using the changeset viewer.
