Changeset 38665
- Timestamp:
- Aug 6, 2015, 12:57:05 PM (11 years ago)
- Location:
- branches/eam_branches/ipp-20150625/Ohana/src
- Files:
-
- 2 edited
-
relastro/src/bcatalog.c (modified) (1 diff)
-
uniphot/src/update_catalog_setgalmodel.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150625/Ohana/src/relastro/src/bcatalog.c
r38441 r38665 112 112 113 113 // if we want to correct to the galay model, we need to use objects with distances determined by Green & Schlafly 114 if (USE_GALAXY_MODEL && !catalog[0].average[i].Nstarpar) { 115 // we may want to add some starpar quality filters... 116 continue; 114 if (USE_GALAXY_MODEL) { 115 // if we use the galaxy model, we need to require the model pm to exist 116 if (!catalog[0].average[i].Nstarpar) continue; 117 if (!isfinite(catalog[0].average[i].uRgal)) continue; 118 if (!isfinite(catalog[0].average[i].uDgal)) continue; 117 119 } 118 120 -
branches/eam_branches/ipp-20150625/Ohana/src/uniphot/src/update_catalog_setgalmodel.c
r38663 r38665 17 17 for (i = 0; i < catalog[0].Naverage; i++) { 18 18 19 average[i].uRgal = 0.0;20 average[i].uDgal = 0.0;19 average[i].uRgal = NAN; 20 average[i].uDgal = NAN; 21 21 22 22 if (average[i].Nstarpar == 0) continue;
Note:
See TracChangeset
for help on using the changeset viewer.
