Changeset 37694
- Timestamp:
- Nov 29, 2014, 3:29:29 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/relastro/src
- Files:
-
- 2 edited
-
FrameCorrection.c (modified) (1 diff)
-
relastro_parallel_images.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/FrameCorrection.c
r37675 r37694 21 21 int i; 22 22 for (i = 0; i < NLOOP; i++) { 23 ICRFobj *icrfobj = slurp_icrf_obj (regionHosts, i); 24 FrameCorrectionSet *set = FrameCorrectionMeasure (icrfobj); 25 26 char *filename = make_filename (CATDIR, "master", 0, "frame.corr.fits"); 27 FrameCorrectionSetSave (filename, set); 28 free (filename); 29 30 char *syncfile = make_filename (CATDIR, "master", 0, "frame.corr.sync"); 31 update_sync_file (syncfile, i); 32 free (syncfile); 23 if ((i > 1) || !USE_GALAXY_MODEL) { 24 // if GALAXY_MODEL is selected, we want to delay the frame correction until we have 25 // applied the galaxy model a couple of times. 26 27 ICRFobj *icrfobj = slurp_icrf_obj (regionHosts, i); 28 FrameCorrectionSet *set = FrameCorrectionMeasure (icrfobj); 29 30 char *filename = make_filename (CATDIR, "master", 0, "frame.corr.fits"); 31 FrameCorrectionSetSave (filename, set); 32 free (filename); 33 34 char *syncfile = make_filename (CATDIR, "master", 0, "frame.corr.sync"); 35 update_sync_file (syncfile, i); 36 free (syncfile); 37 } 33 38 } 34 39 -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/relastro_parallel_images.c
r37684 r37694 104 104 for (i = 0; i < NLOOP; i++) { 105 105 UpdateObjects (catalog, Ncatalog, (i > 0)); 106 FrameCorrectionParallelSlave (catalog, Ncatalog, regionHosts, i); 106 if ((i > 1) || !USE_GALAXY_MODEL) { 107 // if GALAXY_MODEL is selected, we want to delay the frame correction until we have 108 // applied the galaxy model a couple of times. 109 FrameCorrectionParallelSlave (catalog, Ncatalog, regionHosts, i); 110 } 107 111 share_mean_pos (catalog, Ncatalog, regionHosts, i); 108 112 slurp_mean_pos (catalog, Ncatalog, regionHosts, i);
Note:
See TracChangeset
for help on using the changeset viewer.
