Ignore:
Timestamp:
Jun 20, 2006, 6:01:49 PM (19 years ago)
Author:
ansari
Message:

1/ Nettoyage+commentaires/doxygen ds Vector3d, UnitVector, LongLat,
SphereCoordSys ...
2/ Ajout de la classe angle pour faciliter les conversions rad<>deg<>arcmin
dans le fichier vector3d.h .cc
3/ nettoyage/uniformisation methodes print pour pixelmap, ajout de la
methode PixelMap<T>::Show()
4/ Ajout methodes SphericalMap<T>::HasSymThetaSlice() et
GetSymThetaSliceIndex(int_4 idx) et leurs implementations pour
SphereHEALPix et SphereThetaPhi en vue de l'optimisation du calcul
transforme Ylm
5/ Ajout methode ResolToSizeIndex ds SphereThetaPhi , SphereHEALPix et
SphereECP

Reza , 20 Juin 2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/spherethetaphi.h

    r2969 r2973  
    2626
    2727public :
     28
     29//! return the size index value corresponding to resolution res (in radian)
     30static inline int_4 ResolToSizeIndex(double res)
     31  { return (M_PI/2./res); }
    2832
    2933SphereThetaPhi();
     
    120124
    121125virtual r_8  ThetaOfSlice(int_4 index) const;
     126virtual int_4 GetSymThetaSliceIndex(int_4 idx) const;
     127virtual bool  HasSymThetaSlice() const;
     128
    122129virtual void GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const;
    123130virtual void GetThetaSlice(int_4 index, r_8& theta, r_8& phi0,TVector<int_4>& pixelIndices, TVector<T>& value) const ;
    124131
    125132
    126 //! ASCII dump (print) of the pixel map
     133//! ASCII dump (print) of the pixel map on stream \b os
    127134void print(ostream& os) const;
     135//! ASCII dump (print) of the pixel map
     136inline void Print(ostream& os) const { print(os); }
     137//! ASCII dump (print) of the pixel map on cout
     138inline void Print() const { print(cout); }
    128139
    129140
Note: See TracChangeset for help on using the changeset viewer.