Changeset 37420
- Timestamp:
- Sep 22, 2014, 9:46:59 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ippconfig/recipes/psastro.config (modified) (1 diff)
-
psastro/src/psastroChooseRefstars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippconfig/recipes/psastro.config
r37274 r37420 170 170 # report and reject stars with reported magnitudes less than this value. These non physical 171 171 # magnitudes are errors in the reference catalog (this value is sky magnitude, not instrumental) 172 # -- and now also for greater than a sky magnitude (should be 24-25?) 172 173 REFSTAR_CLAMP_MAG_MIN F32 -3.0 174 REFSTAR_CLAMP_MAG_MAX F32 30.0 173 175 174 176 EXTRACT_MAX_MAG F32 -15.0 -
trunk/psastro/src/psastroChooseRefstars.c
r35715 r37420 66 66 psF32 clampMagMin = psMetadataLookupF32 (&status, recipe, "REFSTAR_CLAMP_MAG_MIN"); 67 67 if (!status) clampMagMin = -5.0; 68 //MEH test 69 psF32 clampMagMax = psMetadataLookupF32 (&status, recipe, "REFSTAR_CLAMP_MAG_MAX"); 70 if (!status) clampMagMax = 30.0; 71 68 72 69 73 // de-activate all files except PSASTRO.REFSTARS … … 110 114 if (ref->Mag < clampMagMin) { 111 115 psWarning("Skipping refstar with abusrd magnitude %f ra: %f dec: %f\n", 116 ref->Mag, RAD_TO_DEG(ref->sky->r), RAD_TO_DEG(ref->sky->d)); 117 goto skip; 118 } 119 //MEH test 120 if (ref->Mag > clampMagMax) { 121 psWarning("Skipping by clamp refstar with faint magnitude %f ra: %f dec: %f\n", 112 122 ref->Mag, RAD_TO_DEG(ref->sky->r), RAD_TO_DEG(ref->sky->d)); 113 123 goto skip;
Note:
See TracChangeset
for help on using the changeset viewer.
