Changeset 3252 in Sophya for trunk/Cosmo/SimLSS


Ignore:
Timestamp:
May 22, 2007, 11:00:18 AM (18 years ago)
Author:
cmv
Message:

details cmv 22/05/2007

Location:
trunk/Cosmo/SimLSS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/SimLSS/cmvdefsurv.cc

    r3248 r3252  
    3333      <<" -P : on donne -x -y -z en Mpc au lieu d\'angles et de redshift"<<endl
    3434      <<" -L lobewidth : taille du lobe d\'observation (FWHM) en arcmin (def= 1\')"<<endl
     35      <<"                Si <=0 alors angle solide du lobe = celui du pixel"<<endl
    3536      <<" -O surf,tobs : surface effective (m^2) et temps d\'observation (s)"<<endl
    3637      <<" -N Tsys : temperature du system (K)"<<endl
     
    275276 //     = NuHi*dz/(1.+z0)^2 * 1/[1-(dz/(2*(1+z0)))^2]
    276277 double dnuhiz = Fr_HyperFin_Par *dred/(unplusz*unplusz)
    277                / (1.- (dred/.2/unplusz)*(dred/.2/unplusz));
     278               / (1.- pow(dred/.2/unplusz,2.));
    278279 cout<<"\n--- Observation:"<<endl
    279280     <<"      surf_eff="<<surfeff<<" m^2, tobs="<<tobs<<" s"<<endl
     
    322323 // Elargissement doppler de la raie a 21cm: dNu = vrot/C * Nu(21cm) / (1+z)
    323324 double doplarge = vrot / SpeedOfLight_Cst * nuhiz;
    324  cout<<"     Doppler width="<<doplarge*1.e3<<" MHz  for rotation width of "<<vrot<<" km/s"<<endl;
    325  if(doplarge>dnuhiz) {
     325 double dzvrot = vrot / SpeedOfLight_Cst * unplusz;
     326 cout<<"     Doppler width="<<doplarge*1.e3<<" MHz  for rotation width of "<<vrot<<" km/s"<<endl
     327     <<"                 dx= "<<dzvrot<<" a z="<<redshift<<endl;
     328 if(doplarge>dnuhiz)
    326329   cout<<"Warning: doppler width "<<doplarge<<" GHz > "<<dnuhiz<<" GHz redshift bin width"<<endl;
    327  }
    328330
    329331 // Synchrotron
  • trunk/Cosmo/SimLSS/cmvobserv3d.cc

    r3246 r3252  
    396396   cout<<"...D(z=0)="<<growth(0.)<<"  D(z="<<zref<<")="<<growth(zref)<<endl;
    397397   fluct3d.ApplyGrowthFactor();
    398    rmin,rmax; rgen.MinMax(rmin,rmax);
     398   rgen.MinMax(rmin,rmax);
    399399   cout<<"rgen.Min = "<<rmin<<" , Max="<<rmax<<endl;
    400400   PrtTim(">>>> End Applying growth factor");
Note: See TracChangeset for help on using the changeset viewer.