Changeset 20373
- Timestamp:
- Oct 24, 2008, 3:00:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/dvoTools/src/dvoMakeCorrUnbin.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dvoTools/src/dvoMakeCorrUnbin.c
r20180 r20373 43 43 pmChip *outChip = pmFPAviewThisChip (myView, outFile->fpa); 44 44 pmCell *outCell = pmFPAviewThisCell (myView, outFile->fpa); 45 assert (outCell); 45 46 46 47 pmChipCopyStructure (outChip, refChip, 1, 1); … … 48 49 outData = pmReadoutAlloc (outCell); 49 50 assert (outData != NULL); 50 51 // outData = pmFPAviewThisReadout (myView, outFile->fpa);52 // assert (outData != NULL);53 51 } 54 52 … … 59 57 if (!psImageUnbin (outData->image, inImage, binning)) { 60 58 psError (PS_ERR_UNKNOWN, true, "failed to unbin image"); 59 psFree (myView); 61 60 psFree (binning); 62 61 return false; … … 71 70 } 72 71 73 // psFits *fits = psFitsOpen ("tmp.fits", "w"); 74 // psFitsWriteImage (fits, NULL, outData->image, 0, NULL); 75 // psFitsClose (fits); 76 // exit (0); 77 72 psFree (myView); 78 73 psFree (binning); 74 79 75 return true; 80 76 }
Note:
See TracChangeset
for help on using the changeset viewer.
