Changeset 1239 in Sophya for trunk/SophyaProg/PMixer/tgrsr.cc
- Timestamp:
- Oct 18, 2000, 10:58:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PMixer/tgrsr.cc
r1141 r1239 133 133 cout << "\n Writing Matrix NRows= " << mtx.NRows() << " NCols= " 134 134 << mtx.NCols() << " to FITS file: " << (string)(arg[4]) << endl; 135 FITS_TArray<r_8> fios(&mtx); 136 fios.Write(arg[4]); // $CHECK$ A passer em HDU=2 , Reza 31/7/2000 135 FitsOutFile fios(arg[4]); 136 fios.firstImageOnPrimaryHeader(false); // use secondary header 137 fios << mtx ; 137 138 PrtTim("End of Matrix->FITS "); 138 139 } 139 140 140 141 if (narg > 5) { // Writing ImageR4 fo FITS file 141 cout << "wr ting ImageR4(" << npt << ", 2) to FITS file: "142 cout << "writing ImageR4(" << npt << ", 2) to FITS file: " 142 143 << (string)(arg[5]) << endl; 143 FITS_TArray<r_4> fios(&img); 144 fios.Write(arg[5]); 144 FitsOutFile fios(arg[5]); 145 fios.firstImageOnPrimaryHeader(true); // use primary header 146 fios << img ; 145 147 PrtTim("End of ImageR4->FITS "); 146 148 }
Note:
See TracChangeset
for help on using the changeset viewer.