IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 26, 2009, 5:19:06 PM (17 years ago)
Author:
Paul Price
Message:

Get concepts from reference, but astrometry from (forward) subtraction.
Concepts of inverse image were being inherited from the forward subtraction,
which meant they both had the same date and time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadoutInverse.c

    r24240 r24255  
    2323    invRO->data_exists = invRO->parent->data_exists = invRO->parent->parent->data_exists = true;
    2424
     25    // Get concepts from reference
     26    pmFPAfile *refFile = psMetadataLookupPtr(NULL, config->files, "PPSUB.REF.CONV"); // File with concepts
     27    pmFPA *invFPA = invRO->parent->parent->parent; // Inverse FPA
     28    pmConceptsCopyFPA(invFPA, refFile->fpa, true, true);
     29
     30    // Get astrometry from (forward) subtraction
    2531    pmChip *outChip = outRO->parent->parent;       // Output chip
    2632    pmFPA *outFPA = outChip->parent;               // Output FPA
    27     pmFPA *invFPA = invRO->parent->parent->parent; // Inverse FPA
    28 
    29     pmConceptsCopyFPA(invFPA, outFPA, true, true);
    30 
    3133    pmChip *invChip = invRO->parent->parent; // Inverse chip
    3234    pmHDU *invHDU = invFPA->hdu;          // Inverse HDU
Note: See TracChangeset for help on using the changeset viewer.