Changeset 34142
- Timestamp:
- Jul 13, 2012, 6:30:15 AM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120627/ppSim/src
- Files:
-
- 2 edited
-
ppSimArguments.c (modified) (1 diff)
-
ppSimMakeGalaxies.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120627/ppSim/src/ppSimArguments.c
r30618 r34142 225 225 ppSimArgToRecipeStr(&status, options, "GALAXY.MODEL", arguments, "-galmodel"); // Galaxy model name 226 226 227 // the user supplies FWHM in arcsec; here we convert to Sigma in pixels227 // the user supplies FWHM in arcsec; we convert to Sigma in pixels (in ppSimCreate.c:103) 228 228 psMetadataAddF32(options, PS_LIST_TAIL, "SEEING", 0, "Seeing FWHM (arcsec)", seeing); 229 229 psMetadataAddF32(options, PS_LIST_TAIL, "RA", 0, "Boresight RA (radians)", ra0 * M_PI / 180.0); -
branches/eam_branches/ipp-20120627/ppSim/src/ppSimMakeGalaxies.c
r34134 r34142 237 237 // galaxy->Rmaj -> PM_PAR_LENGTH 238 238 // seeing -> PM_PAR_SIGMA 239 galaxy->Rmin = seeing / 2.35; // Rmin is used for sigma239 galaxy->Rmin = seeing; // Rmin is used for sigma 240 240 galaxy->peak = galaxy->flux / (galaxy->Rmaj * galaxy->Rmin * 2.0 * sqrt(2.0 * M_PI)); 241 241 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
