Changeset 26900 for trunk/ppSim/src/ppSimSetPSF.c
- Timestamp:
- Feb 10, 2010, 7:42:33 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/src/ppSimSetPSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimSetPSF.c
r18011 r26900 20 20 // ppSimArguments) 21 21 float seeing = psMetadataLookupF32(&status, recipe, "SEEING"); // Seeing SIGMA (pixels) 22 float aRatio = psMetadataLookupF32(&status, recipe, "PSF.ARATIO"); // Seeing SIGMA (pixels) 23 float theta = psMetadataLookupF32(&status, recipe, "PSF.THETA"); // Seeing SIGMA (pixels) 22 24 23 25 char *psfModelName = psMetadataLookupStr(&status, recipe, "PSF.MODEL"); // Name of PSF model … … 55 57 // supply the semi-major axis (these are SIGMA values in PIXELS) 56 58 axes.major = seeing; 57 axes.minor = seeing;58 axes.theta = 0.0;59 axes.minor = aRatio * seeing; 60 axes.theta = theta * PS_RAD_DEG; 59 61 60 62 pol = psEllipseAxesToPol (axes);
Note:
See TracChangeset
for help on using the changeset viewer.
