IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7463


Ignore:
Timestamp:
Jun 9, 2006, 12:37:21 PM (20 years ago)
Author:
Paul Price
Message:

Copying headers from source to target.

File:
1 edited

Legend:

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

    r7454 r7463  
    44#include "pmFPA.h"
    55#include "pmHDU.h"
     6#include "pmHDUUtils.h"
    67#include "pmChipMosaic.h"
    78
     
    994995    psFree(newReadout);                 // Drop reference
    995996
     997    // Update the headers
     998    pmHDU *sourceHDU = pmHDUFromChip(source); // The HDU for the source
     999    pmHDU *targetHDU = pmHDUFromChip(target); // The HDU for the target
     1000    targetHDU->header = psMetadataCopy(targetHDU->header, sourceHDU->header);
     1001
    9961002    return true;
    9971003}
     
    10791085    psFree(newReadout);                 // Drop reference
    10801086
     1087    // Update the headers
     1088    pmHDU *sourceHDU = pmHDUFromFPA(source); // The HDU for the source
     1089    pmHDU *targetHDU = pmHDUFromFPA(target); // The HDU for the target
     1090    targetHDU->header = psMetadataCopy(targetHDU->header, sourceHDU->header);
     1091
    10811092    return true;
    10821093}
Note: See TracChangeset for help on using the changeset viewer.