Changeset 1174 in Sophya
- Timestamp:
- Sep 1, 2000, 5:22:11 PM (25 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsntuple.h
r1136 r1174 21 21 22 22 FITS_NTuple(); 23 FITS_NTuple(char inputfile[],int hdunum= 2);23 FITS_NTuple(char inputfile[],int hdunum=0); 24 24 FITS_NTuple(const NTuple & obj); 25 25 FITS_NTuple(NTuple* obj); … … 42 42 \param <numberOfLines> number of lines to be read 43 43 */ 44 void ReadLines(char inputfile[],int firstLine, int numberOfLines,int hdunum= 2);44 void ReadLines(char inputfile[],int firstLine, int numberOfLines,int hdunum=0); 45 45 46 46 inline operator NTuple() { return(*dobj_); } -
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 -
trunk/SophyaExt/FitsIOServer/fitsspherehealpix.h
r1136 r1174 22 22 23 23 FITS_SphereHEALPix(); 24 FITS_SphereHEALPix(char inputfile[],int hdunum= 2);24 FITS_SphereHEALPix(char inputfile[],int hdunum=0); 25 25 FITS_SphereHEALPix(const SphereHEALPix<T>& obj); 26 26 FITS_SphereHEALPix(SphereHEALPix<T>* obj); -
trunk/SophyaExt/FitsIOServer/fitstarray.h
r1136 r1174 25 25 26 26 FITS_TArray(); 27 FITS_TArray(char inputfile[],int hdunum= 2);27 FITS_TArray(char inputfile[],int hdunum=0); 28 28 FITS_TArray(const TArray<T> & obj); 29 29 FITS_TArray(TArray<T> *obj); -
trunk/SophyaExt/FitsIOServer/fitsxntuple.h
r1136 r1174 21 21 public: 22 22 FITS_XNTuple(); 23 FITS_XNTuple(char inputfile[],int hdunum= 2);23 FITS_XNTuple(char inputfile[],int hdunum=0); 24 24 FITS_XNTuple(const XNTuple & obj); 25 25 FITS_XNTuple(XNTuple* obj); … … 42 42 \param <numberOfLines> number of lines to be read 43 43 */ 44 void ReadLines(char inputfile[],int firstLine, int numberOfLines,int hdunum= 2);44 void ReadLines(char inputfile[],int firstLine, int numberOfLines,int hdunum=0); 45 45 inline operator XNTuple() { return(*dobj_); } 46 46 inline XNTuple * getObj() { return(dobj_); }
Note:
See TracChangeset
for help on using the changeset viewer.