Changeset 2973 in Sophya for trunk/SophyaLib/SkyMap/spherehealpix.h
- Timestamp:
- Jun 20, 2006, 6:01:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/spherehealpix.h
r2968 r2973 44 44 { HEALPix::pix2ang_nest(nside, ipix, theta, phi); } 45 45 46 //! return the size index (=nside) corresponding to resolution res (in radian) 47 static inline int_4 ResolToSizeIndex(double res) 48 { return HEALPix::ResolToSizeIndex(res); } 49 50 //! return the size index (=nside) corresponding to resolution res (in radian) 51 static inline int_4 ResolToNSide(double res) 52 { return HEALPix::ResolToSizeIndex(res); } 53 46 54 SphereHEALPix(); 47 55 SphereHEALPix(int_4 m); … … 72 80 virtual uint_4 NbThetaSlices() const; 73 81 virtual r_8 ThetaOfSlice(int_4 index) const; 82 virtual bool HasSymThetaSlice() const; 83 virtual int_4 GetSymThetaSliceIndex(int_4 idx) const; 84 74 85 virtual void GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const; 75 86 virtual void GetThetaSlice(int_4 sliceIndex,r_8& theta, r_8& phi0, TVector<int_4>& pixelIndices,TVector<T>& value) const ; … … 125 136 126 137 void print(ostream& os) const; 127 138 inline void Print(ostream& os) const { print(os); } 128 139 129 140
Note:
See TracChangeset
for help on using the changeset viewer.