IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2007, 10:43:21 AM (19 years ago)
Author:
eugene
Message:

failure for a chip is not a failure for the camera; temporarily turn off luminosity func test; better numbers for min Nstars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroMosaicChipAstrom.c

    r10880 r12718  
    22# define NONLIN_TOL 0.001 /* tolerance in pixels */
    33
    4 bool psastroMosaicChipAstrom (pmFPA *fpa, psMetadata *recipe, bool nonlinear) {
     4bool psastroMosaicChipAstrom (pmFPA *fpa, psMetadata *recipe, int iteration) {
    55
    66    pmChip *chip = NULL;
     
    2626                psMetadata *updates = psMetadataAlloc();
    2727
    28                 psastroMosaicOneChip (chip, readout, recipe, updates, nonlinear);
     28                if (!psastroMosaicOneChip (chip, readout, recipe, updates, iteration)) {
     29                    readout->data_exists = false;
     30                    psLogMsg ("psastro", 3, "failed to find a solution for %d,%d,%d\n", view->chip, view->cell, view->readout);
     31                    psFree (updates);
     32                    continue;
     33                }
    2934
    3035                // create the header keywords to descripe the results
Note: See TracChangeset for help on using the changeset viewer.