IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2008, 2:39:01 PM (18 years ago)
Author:
beaumont
Message:

merged mainline into branch. resolved conflicts. added plots.

Location:
branches/cnb_branch_20080830/psastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cnb_branch_20080830/psastro/src

    • Property svn:ignore
      •  

        old new  
        1515psastroModel
        1616gpcModel
         17psastroModelFit
  • branches/cnb_branch_20080830/psastro/src/psastroMosaicGradients.c

    r15671 r20033  
    22static int nPass = 0;
    33
    4 bool psastroMosaicGradients (pmFPA *fpa, psMetadata *recipe) {
     4bool psastroMosaicDistortionFromGradients (pmFPA *fpa, psMetadata *recipe) {
    55
    66    bool status;
     
    99    pmReadout *readout = NULL;
    1010    psArray *gradients = NULL;
     11
     12    // Measure the gradient as a function of position.  This must be performed between the
     13    // corrected ref->TP and the observed raw->FP, for which the distortion is a perturbation.
    1114
    1215    pmFPAview *view = pmFPAviewAlloc (0);
     
    5962    }
    6063
     64    // Fit the gradient field and convert to the distortion terms.
     65
    6166    // allocate mosaic-level polynomial transformation and set masks needed by DVO
    6267    int order = psMetadataLookupF32 (&status, recipe, "PSASTRO.MOSAIC.ORDER");
     
    95100    }
    96101       
    97     if (!psastroMosaicSetAstrom (fpa)) {
    98         psError(PSASTRO_ERR_UNKNOWN, false, "failed to apply mosaic distortion terms\n");
    99         psFree (gradients);
    100         psFree (view);
    101         return false;
    102     }
    103 
    104102    psFree (gradients);
    105103    psFree (view);
    106104    return true;
    107105}
     106
Note: See TracChangeset for help on using the changeset viewer.