Changeset 726 in Sophya for trunk/SophyaLib/Samba/spherethetaphi.h
- Timestamp:
- Feb 21, 2000, 5:38:11 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/spherethetaphi.h
r708 r726 41 41 virtual ~SphereThetaPhi(); 42 42 43 /*! Setting blockdata to temporary (see ndatablock documentation) */ 44 inline virtual void SetTemp(bool temp=false) const {pixels_.SetTemp(temp);}; 45 43 46 // ------------ Definition of PixelMap abstract methods - 44 47 … … 94 97 /* Nombre de tranches en theta */ 95 98 /*! Return number of theta-slices on the sphere */ 96 int_4 NbThetaSlices() const;99 uint_4 NbThetaSlices() const; 97 100 98 101 /* Nombre de pixels en phi de la tranche d'indice kt */ … … 140 143 void GetThetaSlice(int_4 index,double& theta,TVector<double>& phi,TVector<T>& value) const; 141 144 142 145 /*! For a theta-slice with index 'index', return : 146 147 the corresponding "theta" 148 149 the corresponding "phi" for first pixel of the slice 150 151 a vector containing indices of the pixels of the slice 152 153 (equally distributed in phi) 154 155 a vector containing the corresponding values of pixels 156 */ 157 void GetThetaSlice(int_4 index,double& theta, double& phi0,TVector<int>& pixelIndices, TVector<T>& value) const ; 143 158 144 159 … … 150 165 // ------------- méthodes internes ---------------------- 151 166 void InitNul(); 152 void Clear();153 167 inline void setParameters(int nbpix, double omega, int nbThetaIndex) 154 168 { … … 157 171 NTheta_= nbThetaIndex; 158 172 } 159 void setmNPhi(int* array, int m);160 void setmTNphi(int* array, int m);161 void setmTheta(double* array, int m);162 /*retourne l'adresse du tableau contenant le nombre de pixels en phi de chacune des bandes en theta */163 inline const int* getmNPhi() const { return(NPhi_); }164 165 /* retourne le tableau contenant le nombre/Deuxpi total des pixels contenus dans les bandes */166 inline const int* getmTNphi() const { return(TNphi_); }167 168 /* retourne le tableau contenant les valeurs limites de theta */169 inline const double* getmTheta() const { return(Theta_); }170 173 171 174 // ------------- variables internes --------------------- … … 173 176 int_4 NPix_; // nombre total de pixels 174 177 double Omega_; // angle solide constant pour chaque pixel 175 int_4* NPhi_; // tableau donnant, pour chaque bande en theta, le nombre de176 //pixels selon phi177 int_4*TNphi_;178 double*Theta_;179 NDataBlock<T> pixels_;178 NDataBlock<int_4> NPhi_; // tableau donnant, pour chaque bande en theta, 179 //le nombre de pixels selon phi 180 NDataBlock<int_4> TNphi_; 181 NDataBlock<r_8> Theta_; 182 NDataBlock<T> pixels_; 180 183 }; 181 184
Note:
See TracChangeset
for help on using the changeset viewer.