Ignore:
Timestamp:
Sep 1, 2000, 5:22:11 PM (25 years ago)
Author:
ansari
Message:

hdunum=0 par defaut

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc

    r1143 r1174  
    2121FITS_SphereHEALPix<T>::FITS_SphereHEALPix(char inputfile[],int hdunum)
    2222{
    23   dobj_= new SphereHEALPix<T>;
    24   ownobj_= true;
    25 
     23    dobj_= new SphereHEALPix<T>;
     24    ownobj_= true;
    2625  Read(inputfile,hdunum);
    27   //  dobj_->SetTemp(true);
    2826}
    2927
     
    3230FITS_SphereHEALPix<T>::FITS_SphereHEALPix(const SphereHEALPix<T>& obj)
    3331{
    34   dobj_= new SphereHEALPix<T>(obj, true);
    35   //  dobj_->SetTemp(true);
     32  cout << " constructeur &obj " << endl;
     33   dobj_= new SphereHEALPix<T>(obj);
    3634  ownobj_= true;
    3735}
     
    131129      ownobj_= true;     
    132130    }
    133 
    134  
    135131  int nbcols, nbentries;
     132  //
     133
    136134  nbcols = is.NbColsFromFits();
    137135  if (nbcols != 1)
     
    144142  if (lastpix>0)
    145143    {
    146       cout << " lastpix trouve= " << lastpix << endl;
    147144      if (nbentries!=lastpix+1)
    148145        {
    149           cout << " nb pixels from LASTPIX = "  << lastpix+1 << endl;
    150146          nbentries=lastpix+1;
    151147        }
     
    190186  dobj_->setParameters(nside,nPix,Omega);
    191187  // On lit les DataBlocks;
    192   dobj_->pixels_.ReSize(nPix);
     188  //
     189   dobj_->pixels_.ReSize(nPix);
    193190  is.GetSingleColumn(dobj_->pixels_.Data(),nPix);
     191  //
    194192
    195193  // on effectue le decoupage en tranches
    196194  dobj_->SetThetaSlices();
    197     dobj_->Info()  = is.DVListFromFits();
    198 
    199 
     195  //
     196  dobj_->Info()  = is.DVListFromFits();
     197  cout << " end of file reading " << endl;
    200198}
    201199
Note: See TracChangeset for help on using the changeset viewer.