Changeset 1174 in Sophya for trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
- Timestamp:
- Sep 1, 2000, 5:22:11 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsspherehealpix.cc
r1143 r1174 21 21 FITS_SphereHEALPix<T>::FITS_SphereHEALPix(char inputfile[],int hdunum) 22 22 { 23 dobj_= new SphereHEALPix<T>; 24 ownobj_= true; 25 23 dobj_= new SphereHEALPix<T>; 24 ownobj_= true; 26 25 Read(inputfile,hdunum); 27 // dobj_->SetTemp(true);28 26 } 29 27 … … 32 30 FITS_SphereHEALPix<T>::FITS_SphereHEALPix(const SphereHEALPix<T>& obj) 33 31 { 34 dobj_= new SphereHEALPix<T>(obj, true);35 // dobj_->SetTemp(true);32 cout << " constructeur &obj " << endl; 33 dobj_= new SphereHEALPix<T>(obj); 36 34 ownobj_= true; 37 35 } … … 131 129 ownobj_= true; 132 130 } 133 134 135 131 int nbcols, nbentries; 132 // 133 136 134 nbcols = is.NbColsFromFits(); 137 135 if (nbcols != 1) … … 144 142 if (lastpix>0) 145 143 { 146 cout << " lastpix trouve= " << lastpix << endl;147 144 if (nbentries!=lastpix+1) 148 145 { 149 cout << " nb pixels from LASTPIX = " << lastpix+1 << endl;150 146 nbentries=lastpix+1; 151 147 } … … 190 186 dobj_->setParameters(nside,nPix,Omega); 191 187 // On lit les DataBlocks; 192 dobj_->pixels_.ReSize(nPix); 188 // 189 dobj_->pixels_.ReSize(nPix); 193 190 is.GetSingleColumn(dobj_->pixels_.Data(),nPix); 191 // 194 192 195 193 // on effectue le decoupage en tranches 196 194 dobj_->SetThetaSlices(); 197 dobj_->Info() = is.DVListFromFits();198 199 195 // 196 dobj_->Info() = is.DVListFromFits(); 197 cout << " end of file reading " << endl; 200 198 } 201 199
Note:
See TracChangeset
for help on using the changeset viewer.