Changeset 1239 in Sophya for trunk/SophyaProg/PMixer/skymixer.cc
- Timestamp:
- Oct 18, 2000, 10:58:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PMixer/skymixer.cc
r1141 r1239 286 286 << (string)(arg[2]) << endl; 287 287 { 288 FITS_SphereHEALPix<float> fios2(outgs); 289 fios2.Write(arg[2]); 288 FitsOutFile fios(arg[2]); 289 fios.firstImageOnPrimaryHeader(false); // Use secondary header 290 fios << outgs ; 290 291 } 291 292 PrtTim("End of WriteFITS "); … … 446 447 ifnm[255] = '\0'; 447 448 Matrix mtx; 448 FITS_TArray<r_8> fios(ifnm, 2); // $CHECK$ A passer em HDU=2 , Reza 31/7/2000 449 mtx = fios; 449 FitsInFile fiis(ifnm); 450 fiis.firstImageOnPrimaryHeader(false); // Use secondary header HDU=2 451 fiis >> mtx ; 450 452 double numin = dc.DParam(key, 2, 1.); 451 453 double numax = dc.DParam(key, 3, 9999.); … … 497 499 cout << " Reading Input FITS spectra file " << (string)ifnm << endl; 498 500 Matrix mtx; 499 FITS_TArray<r_8> fios(ifnm, 2); // $CHECK$ A passer em HDU=2 , Reza 31/7/2000 500 mtx = fios; 501 FitsInFile fiis(ifnm); 502 fiis.firstImageOnPrimaryHeader(false); // Use secondary header HDU=2 503 fiis >> mtx ; 501 504 double numin = dc.DParam(key, 2, 1.); 502 505 double numax = dc.DParam(key, 3, 9999.);
Note:
See TracChangeset
for help on using the changeset viewer.