Changeset 1148 in Sophya for trunk/SigPredictor/lightdiffdust.cc


Ignore:
Timestamp:
Aug 29, 2000, 12:03:24 PM (25 years ago)
Author:
ansari
Message:

mise a jour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SigPredictor/lightdiffdust.cc

    r801 r1148  
    66#include <math.h>
    77#ifdef __MWERKS__
    8    #include "mwerksmath.h"
    98   #include "unixmac.h"
    109   #include "macenvvariables.h"
     
    1211//#include "integ.h"
    1312#include "lightdiffdust.h"
    14 #include "fitsioserver.h"
     13#include "fitsspherehealpix.h"
    1514
    1615LightDiffDust::LightDiffDust(int_4 nside=256) {
     
    3736 
    3837  cout<<"Objet LightDiffDust :"<<endl;
    39   cout <<"Resolution de travail nlat= "<<nlat<<endl;
     38  cout<<"Resolution de travail nlat= "<<nlat<<endl;
    4039 
    41   try { pMap=new SphereGorski<float> (nlat);    }
     40  try { pMap=new SphereHEALPix<r_4> (nlat);     }
    4241  catch (bad_alloc) {
    4342    cerr<<"memory booking error Lightdiffdust constructor nlat= "<<nlat<<endl;
     
    5756  if(nlat<1024) cerr<<"la carte avec nlat=1024 est dispo"<<endl;
    5857 
    59   FitsIoServer FitsServer;
    60   FitsServer.load((*pMap),filename);
    61                 // unite: MJy/st. Dixit Romain
     58  FITS_SphereHEALPix<r_4> FSphere(*pMap);
     59  FSphere.Read(filename);                       // unite: MJy/st. Dixit Romain
     60
    6261}
    6362
Note: See TracChangeset for help on using the changeset viewer.