IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34142


Ignore:
Timestamp:
Jul 13, 2012, 6:30:15 AM (14 years ago)
Author:
eugene
Message:

get the seeing sigma right for trails

Location:
branches/eam_branches/ipp-20120627/ppSim/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120627/ppSim/src/ppSimArguments.c

    r30618 r34142  
    225225        ppSimArgToRecipeStr(&status, options, "GALAXY.MODEL", arguments, "-galmodel"); // Galaxy model name
    226226
    227         // the user supplies FWHM in arcsec; here we convert to Sigma in pixels
     227        // the user supplies FWHM in arcsec; we convert to Sigma in pixels (in ppSimCreate.c:103)
    228228        psMetadataAddF32(options, PS_LIST_TAIL, "SEEING", 0, "Seeing FWHM (arcsec)", seeing);
    229229        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  
    237237        // galaxy->Rmaj -> PM_PAR_LENGTH
    238238        // seeing -> PM_PAR_SIGMA
    239         galaxy->Rmin = seeing / 2.35; // Rmin is used for sigma
     239        galaxy->Rmin = seeing; // Rmin is used for sigma
    240240        galaxy->peak = galaxy->flux / (galaxy->Rmaj * galaxy->Rmin * 2.0 * sqrt(2.0 * M_PI));
    241241        return true;
Note: See TracChangeset for help on using the changeset viewer.