IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6755


Ignore:
Timestamp:
Mar 31, 2006, 5:01:10 PM (20 years ago)
Author:
magnier
Message:

updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmFPAfile.c

    r6726 r6755  
    453453}
    454454
     455// select the readout from the named pmFPAfile; if the named file does not exist,
     456// create an image of the requested dimensions (save this image and file?)
    455457psImage *pmFPAfileReadoutImage (psMetadata *files, const pmFPAview *view, char *name, int Nx, int Ny, int type)
    456458{
     
    459461
    460462    // I want an image from the
    461     pmFPA *fpa = psMetadataLookupPtr (&status, files, name);
    462     if (fpa == NULL) {
     463    pmFPAfile *file = psMetadataLookupPtr (&status, files, name);
     464    if (file == NULL) {
    463465        // use Nx or Ny == 0 to avoid creating an image
    464466        if (Nx*Ny <= 0) {
     
    469471    }
    470472
     473    // make an fpa consistent with this view
     474    // save the image in the fpa
     475    // save the fpa in the file
     476
    471477    // inconsistent result: return NULL
    472     pmReadout *readout = pmFPAviewThisReadout (view, fpa);
     478    pmReadout *readout = pmFPAviewThisReadout (view, file->fpa);
    473479    if (readout == NULL) {
    474480        return NULL;
Note: See TracChangeset for help on using the changeset viewer.