IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2013, 4:41:42 PM (13 years ago)
Author:
eugene
Message:

warping of background model appears to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/pswarp/src/pswarpMakePSF.c

    r35521 r35535  
    1111
    1212#include "pswarp.h"
    13 
    14 #define WCS_NONLIN_TOL 0.001            // Non-linear tolerance for header WCS
    15 #define TESTING 0                       // Testing output?
    1613
    1714// We need a new PSF model for the warped frame.  It would be good to generate this analytically, but
     
    3431    }
    3532
    36     // XXX What was being read here??  skip this for now
    37     if (false && !pswarpIOChecksBefore(config)) {
    38         psError(psErrorCodeLast(), false, "Unable to read files.");
    39         return false;
    40     }
    41 
     33    // XXX move above the loop
     34    pmModelClassSetLimits(PM_MODEL_LIMITS_STRICT);
     35               
    4236    // supply the readout and fpa of interest to psphot
    4337    pmFPAfile *photFile = psMetadataLookupPtr(&status, config->files, "PSPHOT.INPUT");
     
    7165                }
    7266
    73                 // XXX move above the loop
    74                 pmModelClassSetLimits(PM_MODEL_LIMITS_STRICT);
    75                
    7667                // measure the PSF using these sources
    7768                if (!psphotReadoutFindPSF(config, view, "PSPHOT.INPUT", sources)) {
     
    9687        item->data.F32 = psMetadataLookupF32(&status, chip->concepts, "CHIP.SEEING");
    9788    }
    98 
    99     // XXX test function found below
    100     // pswarpMakePSF_test ();
    10189
    10290    psFree(view);
Note: See TracChangeset for help on using the changeset viewer.