Changeset 3271 in Sophya for trunk/Cosmo/SimLSS/cmvobserv3d.cc
- Timestamp:
- Jun 20, 2007, 6:50:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cmvobserv3d.cc
r3267 r3271 30 30 <<" -z nz,dz : size along z axis (redshift axis, npix,Mpc)"<<endl 31 31 <<" -Z zref : redshift for the center of the simulation cube"<<endl 32 <<" -s snoise : gaussian noise sigma in equivalent Msol"<<endl 32 <<" -s snoise,evol : gaussian noise sigma in equivalent Msol"<<endl 33 <<" if evol>0 noise evolved with distance (def no)"<<endl 33 34 <<" -2 : compute also 2D spectrum (default: no)"<<endl 34 35 <<" -M schmin,schmax,nsch : min,max mass and nb points for schechter HI"<<endl … … 80 81 // *** Niveau de bruit 81 82 double snoise= 0.; // en equivalent MSol 83 int isnoise_evol = 0; 82 84 83 85 // *** AGN … … 125 127 break; 126 128 case 's' : 127 sscanf(optarg,"%lf ",&snoise);129 sscanf(optarg,"%lf,%d",&snoise,&isnoise_evol); 128 130 break; 129 131 case 'Z' : … … 169 171 <<"), schmax="<<schmax<<" ("<<lschmax<<") Msol" 170 172 <<", schnpt="<<schnpt<<endl; 171 cout<<"snoise="<<snoise<<" equivalent Msol "<<endl;173 cout<<"snoise="<<snoise<<" equivalent Msol, evolution="<<isnoise_evol<<endl; 172 174 if(do_agn) 173 175 cout<<"AGN: <log10(Jy)>="<<lfjy_agn<<" , sigma="<<lsigma_agn … … 487 489 488 490 if(snoise>0.) { 489 cout<<"\n--- Add noise to HI Flux snoise="<<snoise<< endl;490 fluct3d.AddNoise2Real(snoise );491 cout<<"\n--- Add noise to HI Flux snoise="<<snoise<<", evolution="<<isnoise_evol<<endl; 492 fluct3d.AddNoise2Real(snoise,(isnoise_evol>0? true:false)); 491 493 nm = fluct3d.MeanSigma2(rm,rs2); 492 494 PrtTim(">>>> End Add noise");
Note:
See TracChangeset
for help on using the changeset viewer.