- Timestamp:
- May 13, 2008, 4:56:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080511/ppSim/src/ppSimInsertStars.c
r17557 r17672 43 43 if (isnan(skyRate)) { 44 44 float zp = psMetadataLookupF32(&mdok, recipe, "ZEROPOINT"); assert (mdok); 45 float scale = psMetadataLookupF32(&mdok, recipe, " SCALE"); assert (mdok);45 float scale = psMetadataLookupF32(&mdok, recipe, "PIXEL.SCALE"); assert (mdok); 46 46 float skyMags = psMetadataLookupF32(&mdok, recipe, "SKY.MAGS"); assert (mdok); 47 47 skyRate = scale * scale * ppSimMagToFlux (skyMags, zp); … … 61 61 int yParityCell = psMetadataLookupS32(NULL, cell->concepts, "CELL.YPARITY"); 62 62 63 int binning = psMetadataLookupS32(NULL, config->arguments, "BINNING"); // Binning in x and y63 int binning = psMetadataLookupS32(NULL, recipe, "BINNING"); // Binning in x and y 64 64 65 65 pmPSF *psf = psMetadataLookupPtr (&mdok, chip->analysis, "PSPHOT.PSF");
Note:
See TracChangeset
for help on using the changeset viewer.
