Changeset 34302
- Timestamp:
- Aug 13, 2012, 10:08:45 AM (14 years ago)
- Location:
- tags/ipp-20120802
- Files:
-
- 2 edited
-
ippconfig/recipes/psastro.config (modified) (1 diff)
-
psastro/src/psastroChooseRefstars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20120802/ippconfig/recipes/psastro.config
r34147 r34302 167 167 CROSSTALK_MASK BOOL FALSE 168 168 169 # report and reject stars with reported magnitudes less than this value. These non physical 170 # magnitudes are errors in the reference catalog (this value is sky magnitude, not instrumental) 171 REFSTAR_CLAMP_MAG_MIN F32 -3.0 172 169 173 EXTRACT_MAX_MAG F32 -15.0 170 174 -
tags/ipp-20120802/psastro/src/psastroChooseRefstars.c
r26259 r34302 62 62 63 63 int nMax = psMetadataLookupS32 (&status, recipe, "PSASTRO.MAX.NREF"); 64 psF32 clampMagMin = psMetadataLookupS32 (&status, recipe, "REFSTAR_CLAMP_MAG_MIN"); 65 if (!status) clampMagMin = -5; 64 66 65 67 // de-activate all files except PSASTRO.REFSTARS … … 103 105 for (int i = 0; i < refs->n; i++) { 104 106 pmAstromObj *ref = pmAstromObjCopy(refs->data[index->data.S32[i]]); 107 108 if (ref->Mag < clampMagMin) { 109 psWarning("Skipping refstar with abusrd magnintude %f ra: %f dec: %f\n", 110 ref->Mag, RAD_TO_DEG(ref->sky->r), RAD_TO_DEG(ref->sky->d)); 111 goto skip; 112 } 105 113 106 114 psProject (ref->TP, ref->sky, fpa->toSky);
Note:
See TracChangeset
for help on using the changeset viewer.
