Changeset 1120 in Sophya for trunk/SophyaProg/PMixer/skymixer.cc
- Timestamp:
- Jul 31, 2000, 3:47:02 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PMixer/skymixer.cc
r1062 r1120 442 442 443 443 if (dc.HasKey(key) ) { // Reading FITS filter file 444 FitsIoServer fios;445 444 char ifnm[256]; 446 445 strncpy(ifnm, dc.SParam(key, 1).c_str(), 255); 447 446 ifnm[255] = '\0'; 448 Matrix mtx(2,10); 449 fios.load(mtx, ifnm); 447 Matrix mtx; 448 FITS_TArray<r_8> fios(ifnm, 2); // $CHECK$ A passer em HDU=2 , Reza 31/7/2000 449 mtx = fios; 450 450 double numin = dc.DParam(key, 2, 1.); 451 451 double numax = dc.DParam(key, 3, 9999.); … … 496 496 char * ifnm = BuildFITSFileName(dc.SParam(key, 0)); 497 497 cout << " Reading Input FITS spectra file " << (string)ifnm << endl; 498 FitsIoServer fios;499 Matrix mtx(2,10);500 fios.load(mtx, ifnm);498 Matrix mtx; 499 FITS_TArray<r_8> fios(ifnm, 2); // $CHECK$ A passer em HDU=2 , Reza 31/7/2000 500 mtx = fios; 501 501 double numin = dc.DParam(key, 2, 1.); 502 502 double numax = dc.DParam(key, 3, 9999.);
Note:
See TracChangeset
for help on using the changeset viewer.