IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2007, 4:36:38 PM (19 years ago)
Author:
Paul Price
Message:

pmFPACopy was using a readout to give the size of a cell (when flipping the parity), so that if the readout wasn't present it would SEGV. Added new concepts CELL.XSIZE, CELL.YSIZE, CHIP.XSIZE, CHIP.YSIZE for the size of the various components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConcepts.c

    r11749 r11865  
    639639        }
    640640
     641        // CHIP.XSIZE
     642        {
     643            psMetadataItem *chipXsize = psMetadataItemAllocS32("CHIP.XSIZE", "Size of chip (pixels)", 0);
     644            pmConceptRegister(chipXsize, NULL, NULL, PM_FPA_LEVEL_CHIP);
     645            psFree(chipXsize);
     646        }
     647
     648        // CHIP.YSIZE
     649        {
     650            psMetadataItem *chipYsize = psMetadataItemAllocS32("CHIP.YSIZE", "Size of chip (pixels)", 0);
     651            pmConceptRegister(chipYsize, NULL, NULL, PM_FPA_LEVEL_CHIP);
     652            psFree(chipYsize);
     653        }
     654
    641655        // CHIP.TEMP
    642656        {
     
    808822        }
    809823
     824        // CELL.XSIZE
     825        {
     826            psMetadataItem *cellXsize = psMetadataItemAllocS32("CELL.XSIZE", "Size of cell (pixels)", 0);
     827            pmConceptRegister(cellXsize, NULL, NULL, PM_FPA_LEVEL_CELL);
     828            psFree(cellXsize);
     829        }
     830
     831        // CELL.YSIZE
     832        {
     833            psMetadataItem *cellYsize = psMetadataItemAllocS32("CELL.YSIZE", "Size of cell (pixels)", 0);
     834            pmConceptRegister(cellYsize, NULL, NULL, PM_FPA_LEVEL_CELL);
     835            psFree(cellYsize);
     836        }
    810837    }
    811838
Note: See TracChangeset for help on using the changeset viewer.