Changeset 6755
- Timestamp:
- Mar 31, 2006, 5:01:10 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/src/astrom/pmFPAfile.c
r6726 r6755 453 453 } 454 454 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?) 455 457 psImage *pmFPAfileReadoutImage (psMetadata *files, const pmFPAview *view, char *name, int Nx, int Ny, int type) 456 458 { … … 459 461 460 462 // I want an image from the 461 pmFPA *fpa= psMetadataLookupPtr (&status, files, name);462 if (f pa== NULL) {463 pmFPAfile *file = psMetadataLookupPtr (&status, files, name); 464 if (file == NULL) { 463 465 // use Nx or Ny == 0 to avoid creating an image 464 466 if (Nx*Ny <= 0) { … … 469 471 } 470 472 473 // make an fpa consistent with this view 474 // save the image in the fpa 475 // save the fpa in the file 476 471 477 // inconsistent result: return NULL 472 pmReadout *readout = pmFPAviewThisReadout (view, f pa);478 pmReadout *readout = pmFPAviewThisReadout (view, file->fpa); 473 479 if (readout == NULL) { 474 480 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
