IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 22, 2006, 2:23:08 PM (20 years ago)
Author:
Paul Price
Message:

Adding pmHDUGenerate to make an HDU (image) from the cells contained below. Altered pmFPACopy to use pmHDUGenerate functions. The motivation for pmHDUGenerate is that when we go through an FPA bit by bit, creating an output FPA, we don't know the size of the resultant output images until we're done with the whole lot. So we simply create the cells, and call pmHDUGenerateFromFPA (etc) to generate the HDU image which is then written out. It takes care of the TRIMSEC, BIASSEC, etc.

File:
1 edited

Legend:

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

    r7017 r7168  
    187187    // Only a header
    188188    if (!hdu->images && !hdu->table) {
     189        #if 0
    189190        // Tell CFITSIO there's nothing there
    190191        psMetadataItem *naxis = psMetadataLookup(hdu->header, "NAXIS");
     
    192193            naxis->data.S32 = 0;
    193194        }
     195        #endif
    194196
    195197        if (!psFitsWriteHeader(hdu->header, fits)) {
Note: See TracChangeset for help on using the changeset viewer.