Changeset 3343 in Sophya for trunk/Cosmo/SimLSS
- Timestamp:
- Oct 8, 2007, 6:17:46 PM (18 years ago)
- Location:
- trunk/Cosmo/SimLSS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cmvdefsurv.cc
r3341 r3343 69 69 double h75 = h100 / 0.75; 70 70 double nstar = 0.006*pow(h75,3.); // 71 double mstar = pow(10.,9.8 /(h75*h75)); // MSol71 double mstar = pow(10.,9.8); // MSol 72 72 double alpha = -1.37; 73 73 cout<<"nstar= "<<nstar<<" mstar="<<mstar<<" alpha="<<alpha<<endl; … … 299 299 cout<<"mstar*sch(mstar) = "<<sch(mstar)<<" Msol/Mpc^3/Msol"<<endl; 300 300 int npt = 10000; 301 double lnx1=log10(1e -6), lnx2=log10(1e+14), dlnx=(lnx2-lnx1)/npt;301 double lnx1=log10(1e+6), lnx2=log10(1e+14), dlnx=(lnx2-lnx1)/npt; 302 302 double masshimpc3 = IntegrateFuncLog(sch,lnx1,lnx2,0.001,dlnx,10.*dlnx,6); 303 303 cout<<"Mass density: "<<masshimpc3<<" Msol/Mpc^3"<<endl; … … 308 308 <<"Total mass in survey = "<<masshitot<<" Msol"<<endl; 309 309 if(mhiref<=0.) mhiref = masshipix; 310 311 sch.SetOutValue(0); 312 cout<<"\nsch(mstar) = "<<sch(mstar)<<" /Mpc^3/Msol"<<endl; 313 cout<<"Galaxy number density:"<<endl; 314 for(double x=lnx1; x<10.5; x+=1.) { 315 double n = IntegrateFuncLog(sch,x,lnx2,0.001,dlnx,10.*dlnx,6); 316 cout<<" m>"<<x<<" Msol: "<<n<<" /Mpc^3, "<<n*dvol<<" /pixel, " 317 <<n*vol<<" in survey"<<endl; 318 } 319 sch.SetOutValue(1); 320 310 321 311 322 // --- Survey values … … 368 379 double tsig = facpolar * tsig_2polar; 369 380 double ssig = facpolar * ssig_2polar; 370 cout<<"\nSignal("<<mhiref<<" Msol): P="<<psig<<" W"<<endl; 371 cout<<" flux density = "<<ssig<<" Jy (for Dnu="<<dnuhiz<<" GHz)"<<endl; 372 cout<<" Antenna temperature: tsig="<<tsig<<" K"<<endl; 381 cout<<"\nSignal("<<mhiref<<" Msol):"<<endl 382 <<" P="<<psig<<" W"<<endl 383 <<" flux density = "<<ssig*1.e6<<" mu_Jy (for Dnu="<<dnuhiz<<" GHz)"<<endl 384 <<" Antenna temperature: tsig="<<tsig<<" K"<<endl; 373 385 374 386 // Elargissement doppler de la raie a 21cm: dNu = vrot/C * Nu(21cm) / (1+z) … … 390 402 cout<<"\nSynchrotron: T="<<Tsynch408<<" K ("<<nuhaslam<<" GHz), " 391 403 <<tsynch<<" K ("<<nuhiz<<" GHz)"<<endl 392 <<" P="<<psynch<<" W for pixel"<<endl ;393 cout<<" flux density = "<<ssynch<<" Jy for pixel solid angle"<<endl;404 <<" P="<<psynch<<" W for pixel"<<endl 405 <<" flux density = "<<ssynch<<" Jy for pixel solid angle"<<endl; 394 406 395 407 // CMB … … 400 412 double pcmb = facpolar * pcmb_2polar; 401 413 double scmb = facpolar * scmb_2polar; 402 cout<<"\nCMB: T="<<tcmb<<" K -> P="<<pcmb<<" W for pixel"<<endl; 403 cout<<" flux density = "<<scmb<<" Jy for pixel solid angle"<<endl; 414 cout<<"\nCMB: T="<<tcmb<<" K"<<endl 415 <<" P="<<pcmb<<" W for pixel"<<endl 416 <<" flux density = "<<scmb<<" Jy for pixel solid angle"<<endl; 404 417 405 418 // AGN -
trunk/Cosmo/SimLSS/cmvobserv3d.cc
r3331 r3343 86 86 double h75 = h100 / 0.75; 87 87 double nstar = 0.006*pow(h75,3.); 88 double mstar = pow(10.,9.8 /(h75*h75)); // MSol88 double mstar = pow(10.,9.8); // MSol 89 89 double alpha = -1.37; 90 90 -
trunk/Cosmo/SimLSS/cmvschdist.cc
r3322 r3343 48 48 double h75 = 0.71 / 0.75; 49 49 double nstar = 0.006*pow(h75,3.); // 50 double mstar = pow(10.,9.8 /(h75*h75)); // MSol50 double mstar = pow(10.,9.8); // MSol 51 51 double alpha = -1.37; 52 52 cout<<"h75= "<<h75<<" nstar= "<<nstar<<" mstar="<<mstar<<" alpha="<<alpha<<endl; -
trunk/Cosmo/SimLSS/cmvtstsch.cc
r3320 r3343 37 37 double h75 = 0.71 / 0.75; 38 38 double nstar = 0.006*pow(h75,3.); // 39 double mstar = pow(10.,9.8 /(h75*h75)); // MSol39 double mstar = pow(10.,9.8); // MSol 40 40 double alpha = -1.37; 41 41 cout<<"h75= "<<h75<<" nstar= "<<nstar<<" mstar="<<mstar<<" alpha="<<alpha<<endl;
Note:
See TracChangeset
for help on using the changeset viewer.