Changeset 1148 in Sophya for trunk/SigPredictor/lightsynchro.cc
- Timestamp:
- Aug 29, 2000, 12:03:24 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SigPredictor/lightsynchro.cc
r801 r1148 4 4 #include <stdlib.h> 5 5 #include <math.h> 6 #include "sphere gorski.h"7 #include "fits ioserver.h"6 #include "spherehealpix.h" 7 #include "fitsspherehealpix.h" 8 8 #include "lightsynchro.h" 9 9 10 10 #ifdef __MWERKS__ 11 #include "mwerksmath.h"12 11 #include "macenvvariables.h" 13 12 #endif … … 25 24 resolution=2*3.14159/4./nlat; // Radians 26 25 27 try { pMap=new Sphere Gorski<float>(nlat); } // MJy/m2/Hz/st cad 10-20 W/m2/Hz/st26 try { pMap=new SphereHEALPix<r_4>(nlat); } // MJy/m2/Hz/st cad 10-20 W/m2/Hz/st 28 27 catch(bad_alloc) { 29 28 cerr<<"memory booking error LightSynchro constructor nlat= "<<nlat<<endl; … … 35 34 #endif 36 35 sprintf(filename,"%ssync_res%04i.fits",PATHDataLScr,nside); 37 FitsIoServer FitsServer;38 F itsServer.load((*pMap),filename);39 36 37 FITS_SphereHEALPix<r_4> FSphere(*pMap); 38 FSphere.Read(filename); // unite: MJy/m2/Hz/st. 40 39 }; 41 40
Note:
See TracChangeset
for help on using the changeset viewer.