IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 15, 2005, 12:12:26 PM (21 years ago)
Author:
eugene
Message:

moved ApResid, etc into pmPSF from pmPSFtry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotSetup.c

    r5049 r5058  
    2828    psFits *file = psFitsAlloc (input);
    2929    header = psFitsReadHeader (header, file);
    30     image = psFitsReadImage (NULL, file, region, 0);
     30    psImage *tmpimage = psFitsReadImage (NULL, file, region, 0);
     31    image = psImageCopy (NULL, tmpimage, PS_TYPE_F32);
    3132    psFree (file);
     33   
    3234    // psFree (input);
    3335    // XXX EAM - does the current API expect to get a copy or a view?
     
    9092    }
    9193
    92     psLogMsg ("psphot", 3, "load data: %f sec\n", psTimerMark ("psphot"));
     94    psLogMsg ("psphot", 4, "load data: %f sec\n", psTimerMark ("psphot"));
    9395
    9496    // save the image data & return it
Note: See TracChangeset for help on using the changeset viewer.