Changeset 856 in Sophya
- Timestamp:
- Apr 10, 2000, 3:03:37 PM (25 years ago)
- Location:
- trunk/SophyaProg/PMixer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PMixer/skymixer.cc
r761 r856 15 15 #include "fitsioserver.h" 16 16 17 #include "spheregorski.h" 17 #include "spherehealpix.h" 18 #include "fiospherehealpix.h" 18 19 19 20 #include "radspecvector.h" … … 91 92 92 93 93 cout << " skymix/Info : NComp = " << nskycomp << " Sphere Gorski_NSide= " << hp_nside << endl;94 cout << " skymix/Info : NComp = " << nskycomp << " SphereHEALPix_NSide= " << hp_nside << endl; 94 95 cout << " ... MapPath = " << (string)mapPath << " DebugLev= " << debuglev 95 96 << " PrintLev= " << printlev << endl; … … 98 99 if (debuglev > 0) so = new POutPersist("skymixdbg.ppf"); 99 100 100 Sphere Gorski<float> outgs(hp_nside);101 SphereHEALPix<float> outgs(hp_nside); 101 102 bool okout = false; 102 103 … … 128 129 string key; 129 130 130 Sphere Gorski<float> ings(hp_nside); // The input map131 SphereHEALPix<float> ings(hp_nside); // The input map 131 132 double K = 1.; 132 133 // Loop over sky component … … 141 142 K = dc.DParam(key, 1, 1.); 142 143 if (debuglev > 4) { // Writing tne input map to the outppf 143 FIO_Sphere Gorski<float> fiog(ings);144 FIO_SphereHEALPix<float> fiog(ings); 144 145 fiog.Write(*so, key); 145 146 } … … 174 175 FitsIoServer fios; 175 176 fios.save(outgs, arg[2]); 176 cout << "Output Map (Sphere Gorski<float>) written to FITS file "177 cout << "Output Map (SphereHEALPix<float>) written to FITS file " 177 178 << (string)(arg[2]) << endl; 178 179 PrtTim("End of WriteFITS "); … … 180 181 if (narg > 3) { 181 182 POutPersist s(arg[3]); 182 FIO_Sphere Gorski<float> fiog(&outgs) ;183 FIO_SphereHEALPix<float> fiog(&outgs) ; 183 184 fiog.Write(s); 184 cout << "Output Map (Sphere Gorski<float>) written to POutPersist file "185 cout << "Output Map (SphereHEALPix<float>) written to POutPersist file " 185 186 << (string)(arg[3]) << endl; 186 187 PrtTim("End of WritePPF "); -
trunk/SophyaProg/PMixer/tgsky.cc
r809 r856 4 4 5 5 #include "sambainit.h" 6 #include "spheregorski.h" 6 #include "spherehealpix.h" 7 #include "fiospherehealpix.h" 7 8 #include "fitsioserver.h" 8 9 #include "nbrandom.h" … … 32 33 33 34 int ns = atoi(arg[1]); 34 Sphere Gorski<float> sph(ns);35 SphereHEALPix<float> sph(ns); 35 36 36 cout << "Filling Sphere Gorski<float> NSide= " << ns37 cout << "Filling SphereHEALPix<float> NSide= " << ns 37 38 << " NPixels= " << sph.NbPixels() << endl; 38 39 … … 76 77 // Computing mean and sigma on the sphere 77 78 MeanSig(sph, gmoy, gsig); 78 cout << "Sphere Gorski<float> Mean= " << gmoy << " Sigma = " << gsig << endl;79 cout << "SphereHEALPix<float> Mean= " << gmoy << " Sigma = " << gsig << endl; 79 80 PrtTim("End of Mean-Sig "); 80 81 81 82 if (narg > 5) { 82 83 POutPersist s(arg[5]); 83 FIO_Sphere Gorski<float> fiog(&sph) ;84 FIO_SphereHEALPix<float> fiog(&sph) ; 84 85 fiog.Write(s); 85 cout << "Sphere Gorski<float> written to POutPersist file"86 cout << "SphereHEALPix<float> written to POutPersist file" 86 87 << (string)(arg[5]) << endl; 87 88 PrtTim("End of WritePPF "); … … 92 93 FitsIoServer fios; 93 94 fios.save(sph, arg[4]); 94 cout << "Sphere Gorski<float> written to FITS file " << (string)(arg[4]) << endl;95 cout << "SphereHEALPix<float> written to FITS file " << (string)(arg[4]) << endl; 95 96 PrtTim("End of WriteFITS "); 96 97
Note:
See TracChangeset
for help on using the changeset viewer.