IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2021, 11:37:46 AM (5 years ago)
Author:
eugene
Message:

add alternative configuration for reference image so we can run diff with two different cameras (recipes from first image camera are used); remove commented out test lines and move test function to end of ppSubLoop.c; move bit of code to remove extra detection block into ppSubReadoutInverse to clean up the ppSubLoop flow

File:
1 edited

Legend:

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

    r34272 r41528  
    2424    invRO->covariance = psMemIncrRefCounter(outRO->covariance);
    2525    invRO->analysis = psMetadataCopy(invRO->analysis, outRO->analysis);
     26
     27    // MEH -- need to also clear out detections or inv.cmf is corrupted on update
     28    if (psMetadataLookup(invRO->analysis, "PSPHOT.DETECTIONS")) {
     29      psMetadataRemoveKey(inv->analysis, "PSPHOT.DETECTIONS");
     30    }
    2631
    2732    invRO->data_exists = invRO->parent->data_exists = invRO->parent->parent->data_exists = true;
     
    5459        return false;
    5560    }
    56 
     61   
    5762    psFree(view);
    5863    return true;
Note: See TracChangeset for help on using the changeset viewer.