Changeset 37631
- Timestamp:
- Nov 18, 2014, 8:23:10 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/relastro/src
- Files:
-
- 5 edited
-
ImageOps.c (modified) (1 diff)
-
UpdateChips.c (modified) (1 diff)
-
UpdateObjectOffsets.c (modified) (1 diff)
-
UpdateObjects.c (modified) (1 diff)
-
relastro_images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/ImageOps.c
r37622 r37631 814 814 ref[i].D = catalog[c].average[n].D; 815 815 816 // XXX subtract off dR,dD GAL here816 // if we are correcting for the Galaxy Motion Model, we assume the mean R,D is at the J2000 epoch position 817 817 if (USE_GALAXY_MODEL) { 818 818 myAssert (!isnan(measure[0].RoffGAL), "oops"); -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/UpdateChips.c
r37606 r37631 141 141 // apply the modified R,D back to the measures 142 142 setImageRaw (catalog, Ncatalog, i, raw, Nraw, MODE_MOSAIC); 143 if (USE_GALAXY_MODEL) { 144 image[i].flags |= ID_IMAGE_ASTROM_GMM; 145 } 143 146 144 147 saveCenter (image, &Ro[i], &Do[i], i); -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/UpdateObjectOffsets.c
r37622 r37631 59 59 60 60 // uses MeasureTiny values, but will also update Measure values when populated 61 UpdateObjects (&catalog, 1, 0); 61 // if Galaxy Motion Model correction is active, do not apply at this last stage 62 UpdateObjects (&catalog, 1, FALSE); 62 63 63 64 free_tiny_values(&catalog); -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/UpdateObjects.c
r37622 r37631 209 209 double Di = getMeanD (&measure[k], average, secfilt); 210 210 211 if (USE_GALAXY_MODEL && (Nloop > 0)) { 211 // if we are correcting for the Galaxy Motion Model, only should apply it here 212 // (a) when we are working to correct the images (mean R,D assumed to be at J2000) and 213 // (b) if we think the measure R,D is already at the image epoch position 214 if (USE_GALAXY_MODEL && applyGalaxyOffset) { 212 215 Ri -= measure[k].RoffGAL / 3600.0; 213 216 Di -= measure[k].DoffGAL / 3600.0; -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/relastro_images.c
r37622 r37631 73 73 for (i = 0; i < NLOOP; i++) { 74 74 // XXX is is really possible that I do not update the measure.R,D on each loop?? 75 UpdateObjects (catalog, Ncatalog, i); // calculate <R>,<D>75 UpdateObjects (catalog, Ncatalog, (i > 0)); // calculate <R>,<D>; if (i > 0), apply Galaxy Motion Model (if desired) 76 76 FrameCorrection (catalog, Ncatalog); 77 77 // if (i > 2) FrameCorrection (catalog, Ncatalog);
Note:
See TracChangeset
for help on using the changeset viewer.
