Changeset 724 in Sophya for trunk/SophyaLib/Samba/spheregorski.h
- Timestamp:
- Feb 21, 2000, 12:23:25 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/spheregorski.h
r708 r724 74 74 virtual ~SphereGorski(); 75 75 76 /*! Setting blockdata to temporary (see ndatablock documentation) */ 77 inline virtual void SetTemp(bool temp=false) const {pixels_.SetTemp(temp);}; 76 78 // ------------------ Definition of PixelMap abstract methods 77 79 … … 87 89 /* Nombre de tranches en theta */ 88 90 /*! Return number of slices in theta direction on the sphere */ 89 int_4 NbThetaSlices() const;91 uint_4 NbThetaSlices() const; 90 92 /*! For a theta-slice with index 'index', return : 91 93 … … 97 99 */ 98 100 void GetThetaSlice(int_4 index,double& theta,TVector<double>& phi,TVector<T>& value) const; 101 /*! For a theta-slice with index 'index', return : 102 103 the corresponding "theta" 104 105 the corresponding "phi" for first pixel of the slice 106 107 a vector containing indices of the pixels of the slice 108 109 (equally distributed in phi) 110 111 a vector containing the corresponding values of pixels 112 */ 113 void GetThetaSlice(int_4 sliceIndex,double& theta, double& phi0, TVector<int>& pixelIndices,TVector<T>& value) const ; 99 114 100 115 /* Return true if teta,phi in map */ … … 184 199 // ------------- méthodes internes ---------------------- 185 200 void InitNul(); 201 void SetThetaSlices(); 186 202 187 203 int_4 nest2ring(int_4 nside,int_4 ipnest) const; … … 200 216 201 217 // ------------- variables internes ----------------------- 218 202 219 int_4 nSide_; 203 220 int_4 nPix_; … … 205 222 206 223 NDataBlock<T> pixels_; 224 NDataBlock<int> sliceBeginIndex_; 225 NDataBlock<int> sliceLenght_; 207 226 208 227 };
Note:
See TracChangeset
for help on using the changeset viewer.