Changeset 30507
- Timestamp:
- Feb 7, 2011, 4:36:45 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20101205/Ohana/src/addstar/src
- Files:
-
- 3 edited
-
calibrate.c (modified) (1 diff)
-
fakeimage.c (modified) (2 diffs)
-
sky_tessalation.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/Ohana/src/addstar/src/calibrate.c
r27435 r30507 225 225 image[0].Mcal = M1; 226 226 image[0].dMcal = M2 / sqrt (N); 227 image[0]. Mxxxx= N;227 image[0].nFitPhotom = N; 228 228 } else { 229 229 fprintf (stderr, "too few stars\n"); 230 230 image[0].Mcal = 10.000; 231 231 image[0].dMcal = 10.000; 232 image[0]. Mxxxx= 0;233 } 234 } 232 image[0].nFitPhotom = 0; 233 } 234 } -
branches/eam_branches/ipp-20101205/Ohana/src/addstar/src/fakeimage.c
r27435 r30507 134 134 135 135 image[i+1].nstar = 0; 136 image[i+1].Myyyy = 0;137 136 138 137 /* check if chip hits outer bounds of mosaic */ … … 191 190 image[0].flags = 0; 192 191 image[0].nstar = 0; 193 image[0].Myyyy = 0;194 192 195 193 // XXX need to set the imageID here -
branches/eam_branches/ipp-20101205/Ohana/src/addstar/src/sky_tessalation.c
r28673 r30507 338 338 image[0].photcode = 1; // this needs to be set more sensibly 339 339 340 image[0].Mx = xv[0]; image[0].My = yv[0]; 341 image[0].Mxxx = xv[1]; image[0].Mxyy = yv[1]; 342 image[0].Mxxy = xv[2]; image[0].Myyy = yv[2]; 340 // XXX these overload these value in a silly way 341 image[0].dXpixSys = xv[0]; image[0].dYpixSys = yv[0]; 342 image[0].dMagSys = xv[1]; image[0].nFitAstrom = yv[1]; 343 image[0].photom_map_id = xv[2]; image[0].astrom_map_id = yv[2]; 343 344 344 345 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
