IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 8, 2009, 7:11:15 PM (16 years ago)
Author:
eugene
Message:

add an option for a grid of stars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ppSim/src/ppSimSetPSF.c

    r18011 r26374  
    2020    // ppSimArguments)
    2121    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)
    2224
    2325    char *psfModelName = psMetadataLookupStr(&status, recipe, "PSF.MODEL"); // Name of PSF model
     
    5557    // supply the semi-major axis (these are SIGMA values in PIXELS)
    5658    axes.major = seeing;
    57     axes.minor = seeing;
    58     axes.theta = 0.0;
     59    axes.minor = aRatio * seeing;
     60    axes.theta = theta * PS_RAD_DEG;
    5961
    6062    pol = psEllipseAxesToPol (axes);
Note: See TracChangeset for help on using the changeset viewer.