Changeset 2808 in Sophya for trunk/SophyaLib/SkyMap/sphereecp.cc
- Timestamp:
- Jun 14, 2005, 1:25:05 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/sphereecp.cc
r2621 r2808 3 3 #include <math.h> 4 4 5 /*! 6 \class SOPHYA::SphereECP 7 \ingroup SkyMap 8 \brief Spherical maps in Equatorial Cylindrical Projection 9 10 Class implementing spherical maps, with a pixelisation 11 corresponding to the an Equatorial Cylindrical Projection. 12 Pixel size varie from equator to poles. The sphere is divided 13 into a number of slices along the parallels. Each slice is subdivided 14 into the same number of pixels. 15 This class provides the possibility to have partial coverage. 16 Can be used for the following types: <br> 17 <tt> int_4 , r_4 , r_8 , complex<r_4> , complex<r_8> </tt> 18 */ 19 5 20 namespace SOPHYA { 6 21 22 //! Default constructor 7 23 template <class T> 8 24 SphereECP<T>::SphereECP() … … 23 39 } 24 40 41 /*! 42 \brief Constructor with the pixelisation parameter m 43 44 Complete coverage. 45 The sphere is divided into \b m slices in theta (0..pi). each slice is divided 46 into \b 2m pixels (along phi) 47 */ 25 48 template <class T> 26 49 SphereECP<T>::SphereECP(int m) … … 40 63 } 41 64 65 /*! 66 Complete coverage. 67 \b ntet slices in theta (0..pi) and \b nphi pixels (along phi) for 68 each slice in theta 69 */ 42 70 template <class T> 43 71 SphereECP<T>::SphereECP(int ntet, int nphi) … … 58 86 } 59 87 88 /*! 89 Partial coverage : 90 \b ntet slices in theta , in the range (tet1 .. tet2) and \b nphi pixels (along phi) for 91 each slice in theta in the range (phi1 .. phi2) 92 */ 60 93 template <class T> 61 94 SphereECP<T>::SphereECP(r_8 tet1, r_8 tet2, int ntet, r_8 phi1, r_8 phi2, int nphi) … … 88 121 } 89 122 123 //! Copy constructor - shares the pixel data if \b share=true 90 124 template <class T> 91 125 SphereECP<T>::SphereECP(const SphereECP<T>& a, bool share) … … 106 140 } 107 141 142 //! Copy constructor - shares the pixel data 108 143 template <class T> 109 144 SphereECP<T>::SphereECP(const SphereECP<T>& a)
Note:
See TracChangeset
for help on using the changeset viewer.