IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2008, 1:37:24 AM (18 years ago)
Author:
eugene
Message:

working on loading force phot positions

File:
1 edited

Legend:

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

    r17901 r17930  
    2727    int binning = psMetadataLookupS32(NULL, recipe, "BINNING"); // Binning in x and y
    2828
     29    psArray *spots = psArrayAllocEmpty (1);
    2930    psArray *stars = psArrayAllocEmpty (1);
    3031    psArray *galaxies = psArrayAllocEmpty (1);
    3132    if (type == PPSIM_TYPE_OBJECT) {
    3233        // Load forced-photometry positions
    33         if (!ppSimLoadSpots (fpa, config)) ESCAPE (PS_ERR_UNKNOWN, "failed to load forced-photometry spots");
     34        if (!ppSimLoadSpots (spots, fpa, config)) ESCAPE (PS_ERR_UNKNOWN, "failed to load forced-photometry spots");
    3435
    3536        // Load catalogue stars
Note: See TracChangeset for help on using the changeset viewer.