IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 23, 2009, 3:05:43 PM (17 years ago)
Author:
bills
Message:

Fixes to destreaking of raw images

Location:
trunk/magic/remove/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src

    • Property svn:ignore
      •  

        old new  
        22streaksreplace
        33streakscompare
         4streaksrelease
  • trunk/magic/remove/src/warpedpixels.c

    r20816 r21156  
    4141        // write out the warped pixels
    4242        psMetadata * header = psMetadataAlloc();
    43         pmAstromWriteWCS(header, sf->inAstrom->fpa, sf->chip, 0.001);
     43        if (sf->inAstrom->fpa->toSky->type != PS_PROJ_DIS) {
     44            pmAstromWriteWCS(header, sf->inAstrom->fpa, sf->chip, 0.001);
     45        }
    4446        psFits *fits = psFitsOpen("warpedpixels.fits", "w");
    4547
     
    7678    sf->astrom = streakSetAstrometry(sf->astrom, sf->stage, sf->inAstrom->fpa, sf->chip, false, NULL,
    7779        sf->warpedPixels->numCols, sf->warpedPixels->numRows);
    78    
    7980
    8081    // convert corners of skycell to sky coordinates
Note: See TracChangeset for help on using the changeset viewer.