Changeset 3615 in Sophya for trunk/Cosmo/SimLSS/cmvtstagn.cc
- Timestamp:
- May 1, 2009, 1:34:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cmvtstagn.cc
r3572 r3615 8 8 #include <math.h> 9 9 #include <unistd.h> 10 #include "sophyainit.h" 10 11 #include "timing.h" 11 12 #include "ntuple.h" … … 13 14 #include "geneutils.h" 14 15 #include "agnjackson.h" 16 #include "srandgen.h" 15 17 16 18 void usage(void); … … 27 29 int main(int narg,char *arg[]) 28 30 { 31 SophyaInit(); 29 32 double angsol = 1.; // sr 30 33 double lxmin=-3.,lxmax=4.; int nbinlx = -100; … … 100 103 for(long i=0;i<npix;i++) { 101 104 if(i%l==0) cout<<"...trial: "<<i<<endl; 102 u nsigned long n = PoissRandLimit(mu,10.);105 uint_8 n = Poisson(mu,10.); 103 106 hnobj.Add((double)n); 104 107 sumn += n; sumn2 += n*n;
Note:
See TracChangeset
for help on using the changeset viewer.