IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 5, 2010, 1:19:36 PM (16 years ago)
Author:
eugene
Message:

updates to psphot APIs to enable stack photometry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/pswarp/src/pswarpLoop.c

    r26535 r26781  
    254254                }
    255255
    256                 // Copy the sources from the astrometry carrier to the input, so they can be accessed by
     256                // Copy the detections from the astrometry carrier to the input, so they can be accessed by
    257257                // pswarpTransformReadout
    258258                pmReadout *astromRO = pmFPAviewThisReadout(view, astrom->fpa); // Readout for astrometry
    259                 psArray *sources = psMetadataLookupPtr(&mdok, astromRO->analysis,
    260                                                        "PSPHOT.SOURCES"); // Sources from astrometry
    261                 if (sources) {
    262                     psMetadataAddPtr(readout->analysis, PS_LIST_TAIL, "PSPHOT.SOURCES", PS_DATA_ARRAY,
    263                                      "Sources from input astrometry", sources);
     259                pmDetections *detections = psMetadataLookupPtr(&mdok, astromRO->analysis, "PSPHOT.DETECTIONS"); // Sources from astrometry
     260                if (detections) {
     261                    psMetadataAddPtr(readout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_DATA_ARRAY, "Sources from input astrometry", detections);
    264262                }
    265263
Note: See TracChangeset for help on using the changeset viewer.