Changeset 37657
- Timestamp:
- Nov 21, 2014, 8:21:30 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/relastro/src
- Files:
-
- 3 added
- 3 edited
-
FrameCorrection.c (modified) (2 diffs)
-
FrameCorrectionIO.c (added)
-
ICRFobjIO.c (added)
-
load_catalogs.c (modified) (1 diff)
-
relastro_parallel_images.c (modified) (1 diff)
-
share_icrf_obj.c (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/FrameCorrection.c
r37655 r37657 1 1 # include "relastro.h" 2 2 3 int FrameCorrectionWriteImageSH (FrameCorrectionType *frame, char *filename, int raDirection); 3 4 … … 15 16 16 17 */ 18 19 FrameCorrectionSet *FrameCorrectionSetInit () { 20 21 FrameCorrectionSet *set = NULL; 22 ALLOCATE (set, FrameCorrectionType, 1); 23 24 set->frame = NULL; 25 set->map = NULL; 26 return set; 27 } 28 29 void FrameCorrectionSetFree (FrameCorrectionSet *set) { 30 31 if (!set) return; 32 33 FrameCorrectionFree(set->frame); 34 AstromOffsetMapFree (set->map); 35 free set; 36 } 17 37 18 38 FrameCorrectionType *FrameCorrectionInit (double scale) { -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/load_catalogs.c
r37655 r37657 171 171 if (FlagOutlier) strextend (command, "-clip %d", CLIP_THRESH); 172 172 if (ExcludeBogus) strextend (command, "-exclude-bogus %f", ExcludeBogusRadius); 173 if (USE_ICRF_CORRECT) strextend (command, "-D USE_ICRF_CORRECT %d", USE_ICRF_CORRECT); 174 if (USE_GALAXY_MODEL) strextend (command, "-D USE_GALAXY_MODEL %d", USE_GALAXY_MODEL); 173 175 174 176 if (DCR_BLUE_COLOR_POS && DCR_BLUE_COLOR_NEG) { -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/relastro_parallel_images.c
r37655 r37657 88 88 for (i = 0; i < NLOOP; i++) { 89 89 UpdateObjects (catalog, Ncatalog, (i > 0)); 90 share_icrf_obj (catalog, Ncatalog, regionHosts, i); 91 applyFrameCorr (catalog, Ncatalog, regionHosts, i); // read and apply the frame correction 90 92 share_mean_pos (catalog, Ncatalog, regionHosts, i); 91 93 // XXX FrameCorrection (catalog, Ncatalog); -- this needs to happen on the master machine?
Note:
See TracChangeset
for help on using the changeset viewer.
