Changeset 15963 for trunk/psastro/src/psastroChooseRefstars.c
- Timestamp:
- Dec 30, 2007, 5:04:48 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroChooseRefstars.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroChooseRefstars.c
r15666 r15963 22 22 } 23 23 24 float fieldExtra = psMetadataLookupS32 (&status, recipe, "PSASTRO.FIELD.EXTRA"); 25 if (!status) fieldExtra = 0.0; 24 // extra field fraction to add 25 double fieldPadding = psMetadataLookupF32 (&status, recipe, "PSASTRO.FIELD.PADDING"); 26 if (!status) fieldPadding = 0.0; 26 27 27 28 bool matchLumFunc = psMetadataLookupBool (&status, recipe, "PSASTRO.MATCH.LUMFUNC"); … … 55 56 int Ny = psMetadataLookupS32 (&status, hdu->header, "NAXIS2"); 56 57 57 float minX = -field Extra*Nx;58 float maxX = (1+field Extra)*Nx;59 float minY = -field Extra*Ny;60 float maxY = (1+field Extra)*Ny;58 float minX = -fieldPadding*Nx; 59 float maxX = (1+fieldPadding)*Nx; 60 float minY = -fieldPadding*Ny; 61 float maxY = (1+fieldPadding)*Ny; 61 62 62 63 // the refstars is a subset within range of this chip
Note:
See TracChangeset
for help on using the changeset viewer.
