IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 20, 2007, 12:12:27 PM (19 years ago)
Author:
Paul Price
Message:

Adding fringe solution to the statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageLoop.c

    r13901 r13924  
    127127                pmFPAfile *output = psMetadataLookupPtr(&mdok, config->files, "PPIMAGE.OUTPUT");
    128128                if (!mdok || !output) {
    129                     psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find file PPIMAGE.OUTPUT.\n");
    130                     psFree (view);
    131                     return false;
    132                 }
    133 
    134                 if (!ppStats(stats,
    135                              output->fpa,
    136                              view,
     129                    psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find file PPIMAGE.OUTPUT.");
     130                    psFree (view);
     131                    return false;
     132                }
     133
     134                if (!ppStats(stats, output->fpa, view,
    137135                             options->satMask | options->badMask | options->maskValue,
    138136                             config)) {
    139                     psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to generate stats for image.\n");
    140                     psFree (stats);
    141                     psFree (view);
     137                    psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to generate stats for image.");
     138                    psFree(stats);
     139                    psFree(view);
     140                    return false;
     141                }
     142
     143                if (options->doFringe && !ppStatsFringe(stats, chip, "FRINGE.SOLUTION")) {
     144                    psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to extract fringe solution for image.");
     145                    psFree(stats);
     146                    psFree(view);
    142147                    return false;
    143148                }
Note: See TracChangeset for help on using the changeset viewer.