IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2006, 5:27:52 PM (20 years ago)
Author:
Paul Price
Message:

Moving additional pslib functions over to psLib proper. Some API changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmChipMosaic.c

    r7278 r7382  
    11#include <stdio.h>
    22#include <assert.h>
    3 #include "pslib.h"
     3#include <pslib.h>
    44#include "pmFPA.h"
    55#include "pmHDU.h"
    6 #include "psRegionIsBad.h"
    76
    87
     
    5251        pmCell *cell = cells->data[i];  // Cell of interest
    5352        psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section
    54         if (!mdok || !trimsec || psRegionIsBad(*trimsec)) {
     53        if (!mdok || !trimsec || psRegionIsNaN(*trimsec)) {
    5554            psError(PS_ERR_IO, true, "CELL.TRIMSEC hasn't been set for cell %d.\n", i);
    5655            return false;
     
    8685        psRegion *biassec = NULL;       // Bias section from iteration
    8786        while ((biassec = psListGetAndIncrement(biassecsIter))) {
    88             if (psRegionIsBad(*biassec)) {
     87            if (psRegionIsNaN(*biassec)) {
    8988                continue;
    9089            }
Note: See TracChangeset for help on using the changeset viewer.