Changeset 1120 in Sophya for trunk/SophyaProg/PMixer/skymixer.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/skymixer.cc

    r1062 r1120  
    442442
    443443  if (dc.HasKey(key) ) {      // Reading FITS filter file
    444     FitsIoServer fios;
    445444    char ifnm[256];
    446445    strncpy(ifnm, dc.SParam(key, 1).c_str(), 255);
    447446    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;
    450450    double numin = dc.DParam(key, 2, 1.);
    451451    double numax = dc.DParam(key, 3, 9999.);
     
    496496    char * ifnm = BuildFITSFileName(dc.SParam(key, 0));
    497497    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;
    501501    double numin = dc.DParam(key, 2, 1.);
    502502    double numax = dc.DParam(key, 3, 9999.);
Note: See TracChangeset for help on using the changeset viewer.