- Timestamp:
- May 4, 2011, 3:20:38 PM (15 years ago)
- Location:
- branches/czw_branch/20110406
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psastro/src/psastroAstromGuess.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20110406
- Property svn:mergeinfo changed
-
branches/czw_branch/20110406/psastro/src/psastroAstromGuess.c
r23989 r31434 161 161 psastroPlotRawstars (rawstars, fpa, chip, recipe); 162 162 } 163 164 // Next if we are using a different set of stars for grid search fill out their pmAstromObjs 165 psArray *grid_rawstars = psMetadataLookupPtr (NULL, readout->analysis, "PSASTRO.GRID.RAWSTARS"); 166 if (grid_rawstars == NULL || grid_rawstars == rawstars) { continue; } 167 168 for (int i = 0; i < grid_rawstars->n; i++) { 169 pmAstromObj *raw = grid_rawstars->data[i]; 170 171 psPlaneTransformApply (raw->FP, chip->toFPA, raw->chip); 172 psPlaneTransformApply (raw->TP, fpa->toTPA, raw->FP); 173 psDeproject (raw->sky, raw->TP, fpa->toSky); 174 175 // rationalize ra to sky range centered on boresite 176 while (raw->sky->r < RAminSky) raw->sky->r += 2.0*M_PI; 177 while (raw->sky->r > RAmaxSky) raw->sky->r -= 2.0*M_PI; 178 179 RAmin = PS_MIN (raw->sky->r, RAmin); 180 RAmax = PS_MAX (raw->sky->r, RAmax); 181 182 DECmin = PS_MIN (raw->sky->d, DECmin); 183 DECmax = PS_MAX (raw->sky->d, DECmax); 184 } 185 // XXX: should we plot grid_rawstars? 163 186 } 164 187 }
Note:
See TracChangeset
for help on using the changeset viewer.
