Changeset 1120 in Sophya for trunk/SophyaProg/PMixer/tgrsr.cc


Ignore:
Timestamp:
Jul 31, 2000, 3:47:02 PM (25 years ago)
Author:
ansari
Message:

Adaptation de PMixer aux changements suivants :

  • Remplacement de l'ancienne classe Image<T> par une nouvelle, heritant

de TMatrix<T>

  • Remplacement des FitsIoServer par FITS_xxx<T>

Reza 31/7/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PMixer/tgrsr.cc

    r949 r1120  
    128128  PrtTim("End of filling ");
    129129
    130   FitsIoServer fios;
     130  {
    131131  cout << "\n Writing Matrix NRows= " << mtx.NRows() << "  NCols= "
    132132       << mtx.NCols() << " to FITS file: " << (string)(arg[4]) << endl;
    133   fios.save(mtx, arg[4]);
     133  FITS_TArray<r_8> fios(&mtx);
     134  fios.Write(arg[4]);   // $CHECK$ A passer em HDU=2 , Reza 31/7/2000
    134135  PrtTim("End of Matrix->FITS ");
     136  }
    135137
    136138  if (narg > 5) { // Writing ImageR4 fo FITS file
    137139    cout << "wrting ImageR4(" << npt << ", 2) to FITS file: "
    138140         << (string)(arg[5]) << endl;
    139     fios.save(img, arg[5]);
     141    FITS_TArray<r_4> fios(&img);
     142    fios.Write(arg[5]);
    140143    PrtTim("End of ImageR4->FITS ");
    141144  }
Note: See TracChangeset for help on using the changeset viewer.