IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2006, 4:16:26 PM (20 years ago)
Author:
magnier
Message:

added HDU weights, masks; substantial work on the pmFPAfile,view concepts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmFPARead.c

    r6671 r6713  
    88#include "pmConcepts.h"
    99#include "psRegionIsBad.h"
     10#include "pmHDUUtils.h"
    1011
    1112//////////////////////////////////////////////////////////////////////////////////////////////////////////////
     
    107108    }
    108109
     110    pmCellSetDataStatus (cell, true);
    109111    return true;
    110112}
     
    124126    if (success) {
    125127        pmConceptsReadChip(chip, PM_CONCEPT_SOURCE_HEADER, false, NULL);
     128        // XXX probably could just use chip->data_exists
     129        pmChipSetDataStatus (chip, true);
    126130    }
    127131
     
    379383    for (int chipNum = 0; chipNum < chips->n; chipNum++) {
    380384        pmChip *chip = chips->data[chipNum]; // The current chip of interest
    381         if (chip->process && !chip->exists) {
     385        if (chip->process && !chip->data_exists) {
    382386            if (chip->hdu) {
    383387                hdu = chip->hdu;
     
    386390            for (int cellNum = 0; cellNum < cells->n; cellNum++) {
    387391                pmCell *cell = cells->data[cellNum]; // The current cell of interest
    388                 if (cell->process && !cell->exists) {
     392                if (cell->process && !cell->data_exists) {
    389393                    if (cell->hdu) {
    390394                        hdu = cell->hdu;
     
    517521    for (int chipNum = 0; chipNum < chips->n; chipNum++) {
    518522        pmChip *chip = chips->data[chipNum]; // The current chip of interest
    519         if (chip->process && !chip->exists) {
     523        if (chip->process && !chip->data_exists) {
    520524            if (chip->hdu) {
    521525                hdu = chip->hdu;
     
    524528            for (int cellNum = 0; cellNum < cells->n; cellNum++) {
    525529                pmCell *cell = cells->data[cellNum]; // The current cell of interest
    526                 if (cell->process && !cell->exists) {
     530                if (cell->process && !cell->data_exists) {
    527531                    if (cell->hdu) {
    528532                        hdu = cell->hdu;
Note: See TracChangeset for help on using the changeset viewer.