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/spherehealpix.cc

    r2968 r2973  
    311311}
    312312
     313//! Return true : All theta slices have a symmetric slice at Pi-Theta in SphereHEALPix
     314template <class T>
     315bool SphereHEALPix<T>::HasSymThetaSlice() const
     316{
     317  return true;
     318}
     319//! Return the slice index for the symmetric slice at theta=Pi-ThetaOfSlice(idx)
     320template <class T>
     321int_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
    313328/*!  \fn void SOPHYA::SphereHEALPix::GetThetaSlice(int_4 index,r_8& theta,TVector<r_8>& phi,TVector<T>& value) const
    314329
     
    675690void SphereHEALPix<T>::print(ostream& os) const
    676691{
     692  Show(os);
    677693  if(this->mInfo_) os << "  DVList Info= " << *(this->mInfo_) << endl;
    678694  //
Note: See TracChangeset for help on using the changeset viewer.