Changeset 2973 in Sophya for trunk/SophyaLib/SkyMap/spherehealpix.cc
- Timestamp:
- Jun 20, 2006, 6:01:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/spherehealpix.cc
r2968 r2973 311 311 } 312 312 313 //! Return true : All theta slices have a symmetric slice at Pi-Theta in SphereHEALPix 314 template <class T> 315 bool SphereHEALPix<T>::HasSymThetaSlice() const 316 { 317 return true; 318 } 319 //! Return the slice index for the symmetric slice at theta=Pi-ThetaOfSlice(idx) 320 template <class T> 321 int_4 SphereHEALPix<T>::GetSymThetaSliceIndex(int_4 idx) const 322 { 323 if(idx < 0 || idx >= NbThetaSlices()) 324 throw RangeCheckError("SphereHEALPix::GetSymThetaSliceIndex index out of range"); 325 return (NbThetaSlices()-1-idx); 326 } 327 313 328 /*! \fn void SOPHYA::SphereHEALPix::GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const 314 329 … … 675 690 void SphereHEALPix<T>::print(ostream& os) const 676 691 { 692 Show(os); 677 693 if(this->mInfo_) os << " DVList Info= " << *(this->mInfo_) << endl; 678 694 //
Note:
See TracChangeset
for help on using the changeset viewer.