IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2008, 3:29:09 AM (18 years ago)
Author:
eugene
Message:

added forced photometry code; compiles, not tested

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080511/ppSim/src/ppSimLoop.c

    r17930 r17935  
    2727    int binning = psMetadataLookupS32(NULL, recipe, "BINNING"); // Binning in x and y
    2828
    29     psArray *spots = psArrayAllocEmpty (1);
    3029    psArray *stars = psArrayAllocEmpty (1);
    3130    psArray *galaxies = psArrayAllocEmpty (1);
    3231    if (type == PPSIM_TYPE_OBJECT) {
    33         // Load forced-photometry positions
    34         if (!ppSimLoadSpots (spots, fpa, config)) ESCAPE (PS_ERR_UNKNOWN, "failed to load forced-photometry spots");
     32        // Load forced-photometry positions (these are placed on fpa->analysis for use in ppSimPhotomReadout)
     33        if (!ppSimLoadSpots (fpa, config)) ESCAPE (PS_ERR_UNKNOWN, "failed to load forced-photometry spots");
    3534
    3635        // Load catalogue stars
Note: See TracChangeset for help on using the changeset viewer.