Changeset 724 in Sophya for trunk/SophyaLib/Samba/spheregorski.h


Ignore:
Timestamp:
Feb 21, 2000, 12:23:25 PM (26 years ago)
Author:
ansari
Message:

nouvelle gestion des thetaslices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/spheregorski.h

    r708 r724  
    7474virtual ~SphereGorski();
    7575
     76/*! Setting blockdata to temporary (see ndatablock documentation) */
     77inline virtual void SetTemp(bool temp=false) const {pixels_.SetTemp(temp);};
    7678// ------------------ Definition of PixelMap abstract methods
    7779
     
    8789/* Nombre de tranches en theta */
    8890/*!    Return number of slices in theta direction on the  sphere */
    89 int_4 NbThetaSlices() const;
     91uint_4 NbThetaSlices() const;
    9092/*!   For a theta-slice with index 'index', return :
    9193
     
    9799*/
    98100void GetThetaSlice(int_4 index,double& theta,TVector<double>& phi,TVector<T>& value) const;
     101/*!   For a theta-slice with index 'index', return :
     102
     103   the corresponding "theta"
     104
     105   the corresponding "phi" for first pixel of the slice
     106
     107    a vector containing indices of the pixels of the slice
     108
     109   (equally distributed in phi)
     110
     111    a vector containing the corresponding values of pixels
     112*/
     113 void GetThetaSlice(int_4 sliceIndex,double& theta, double& phi0, TVector<int>& pixelIndices,TVector<T>& value) const ;
    99114
    100115/* Return true if teta,phi in map  */
     
    184199// ------------- méthodes internes ----------------------
    185200void InitNul();
     201 void SetThetaSlices();
    186202
    187203int_4  nest2ring(int_4 nside,int_4 ipnest) const;
     
    200216
    201217// ------------- variables internes -----------------------
     218
    202219int_4 nSide_;
    203220int_4 nPix_;
     
    205222
    206223NDataBlock<T> pixels_;
     224NDataBlock<int> sliceBeginIndex_;
     225 NDataBlock<int> sliceLenght_;
    207226
    208227};
Note: See TracChangeset for help on using the changeset viewer.