IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 24, 2007, 10:52:50 AM (19 years ago)
Author:
Paul Price
Message:

Only do photometry if requested (by supplying a PSF model).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadout.c

    r13462 r13508  
    179179    psFree(solution);
    180180
    181     pmFPAfile *photFile = psMetadataLookupPtr(NULL, config->files, "PSPHOT.INPUT");
    182     pmFPACopy(photFile->fpa, inRO->parent->parent->parent);
     181    if (psMetadataLookupBool(NULL, config->arguments, "PHOTOMETRY")) {
     182        pmFPAfile *photFile = psMetadataLookupPtr(NULL, config->files, "PSPHOT.INPUT");
     183        pmFPACopy(photFile->fpa, inRO->parent->parent->parent);
    183184
    184     psphotReadout(config, view);
     185        psphotReadout(config, view);
    185186
    186     pmFPAfileActivate(config->files, false, "PSPHOT.INPUT");
     187        pmFPAfileActivate(config->files, false, "PSPHOT.INPUT");
     188    }
    187189
    188190    return true;
Note: See TracChangeset for help on using the changeset viewer.