Ignore:
Timestamp:
Dec 3, 2001, 9:38:03 PM (24 years ago)
Author:
cmv
Message:
  • map2toi et toi2map avec nouvelle interface sys coor et unites.
  • les modifs map2toi (LocalMap) de EA sont introduites + certains bugs corriges.

cmv 3/12/01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/ProcWSophya/map2toi.h

    r1762 r1809  
    55//                               Christophe Magneville
    66//                               Reza Ansari
    7 // $Id: map2toi.h,v 1.6 2001-11-13 16:22:47 aubourg Exp $
     7// $Id: map2toi.h,v 1.7 2001-12-03 20:38:02 cmv Exp $
    88
    99#ifndef MAP2TOI_H
     
    4242  virtual void  run(void);
    4343
    44   // Pour savoir si on a de HourDeg,DegDeg,RadRad
     44  // Flag pour les mauvais samples
     45  inline void SetBad(unsigned long long flg=FlgToiOut)
     46                    {mBadFlag = flg;}
     47
     48  // Pour definir la partie astrometrie
    4549  inline void SetEquinox(double actualyear=2000.)
    4650              {mActualYear = actualyear;}
    47   inline void SetCoorIn(TypAstroCoord mfg=TypCoordGalStd)
     51
     52  inline void SetCoorIn(unsigned long mfg=TypCoordGalStd)
    4853              {mTypCoorIn = mfg;}
    49   inline void SetCoorMap(TypAstroCoord mfg=TypCoordGalStd)
     54  inline void SetCoorIn(char const *ctype)
     55              {mTypCoorIn = DecodeTypAstro(ctype);}
     56
     57  inline void SetCoorMap(unsigned long mfg=TypCoordGal)
    5058              {mTypCoorMap = mfg;}
     59  inline void SetCoorMap(char const *ctype)
     60              {mTypCoorMap = DecodeTypAstro(ctype);}
     61
    5162  // Print
    5263  void Print(::ostream & os);
     
    5465protected:
    5566  SphereHEALPix<r_8>& mSph;
    56   TypAstroCoord mTypCoorIn,mTypCoorMap;
     67  unsigned long mTypCoorIn,mTypCoorMap;
     68  unsigned long long mBadFlag;
    5769  double mActualYear;
    5870};
Note: See TracChangeset for help on using the changeset viewer.