Changeset 15963 for trunk/psastro/src/psastroLoadRefstars.c
- Timestamp:
- Dec 30, 2007, 5:04:48 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLoadRefstars.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLoadRefstars.c
r15637 r15963 15 15 float DECmin = DEG_RAD*psMetadataLookupF32(NULL, recipe, "DEC_MIN"); 16 16 float DECmax = DEG_RAD*psMetadataLookupF32(NULL, recipe, "DEC_MAX"); 17 18 // extra field fraction to add 19 double fieldPadding = psMetadataLookupF32 (&status, recipe, "PSASTRO.FIELD.PADDING"); 20 PS_ASSERT (status, NULL); 21 22 float dRA = RAmax - RAmin; 23 RAmin -= dRA * fieldPadding; 24 RAmax += dRA * fieldPadding; 25 26 float dDEC = DECmax - DECmin; 27 DECmin -= dDEC * fieldPadding; 28 DECmax += dDEC * fieldPadding; 17 29 18 30 // XXX CATDIR needs to look up abstracted name from psastro.config
Note:
See TracChangeset
for help on using the changeset viewer.
