Changeset 3271 in Sophya for trunk/Cosmo/SimLSS/cmvdefsurv.cc


Ignore:
Timestamp:
Jun 20, 2007, 6:50:48 PM (18 years ago)
Author:
cmv
Message:

intro evolution bruit avec redshift cmv 20/06/2007

File:
1 edited

Legend:

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

    r3261 r3271  
    185185 if(redlim[0]<=0.)
    186186   {cout<<"Lower redshift limit "<<redlim[0]<<" should be >0"<<endl; return -3;}
    187  double dtrlim[2] = {univ.Dtrcom(redlim[0]),univ.Dtrcom(redlim[1])};
    188  double loslim[2] = {univ.Dloscom(redlim[0]), univ.Dloscom(redlim[1])};
     187 double dtrlim[2]  = {univ.Dtrcom(redlim[0]),univ.Dtrcom(redlim[1])};
     188 double loslim[2]  = {univ.Dloscom(redlim[0]), univ.Dloscom(redlim[1])};
    189189 double dlumlim[2] = {univ.Dlum(redlim[0]),univ.Dlum(redlim[1])};
    190190
     
    192192 cout<<"---- Line of Sight: Redshift = "<<redshift<<endl
    193193     <<"dred = "<<dred<<"  redlarg = "<<redlarg<<endl
    194      <<"  dz = "<<dz<<" Mpc  redlarg = "<<tzlarg<<" Mpc, nz = "<<nz<<" pix"<<endl;
     194     <<"  dz = "<<dz<<" Mpc  redlarg = "<<tzlarg<<" Mpc com, nz = "<<nz<<" pix"<<endl;
    195195 cout<<"---- Transverse X:"<<endl
    196196     <<"adtx = "<<rad2min(adtx)<<"\',  atxlarg = "<<rad2deg(atxlarg)<<" d"<<endl
    197      <<"  dx = "<<dx<<" Mpc,  txlarg = "<<txlarg<<" Mpc, nx = "<<nx<<" pix"<<endl;
     197     <<"  dx = "<<dx<<" Mpc,  txlarg = "<<txlarg<<" Mpc com, nx = "<<nx<<" pix"<<endl;
    198198 cout<<"---- Transverse Y:"<<endl
    199199     <<"adty = "<<rad2min(adty)<<"\',  atylarg = "<<rad2deg(atylarg)<<" d"<<endl
    200      <<"  dy = "<<dy<<" Mpc,  tylarg = "<<tylarg<<" Mpc, ny = "<<ny<<" pix"<<endl;
     200     <<"  dy = "<<dy<<" Mpc,  tylarg = "<<tylarg<<" Mpc com, ny = "<<ny<<" pix"<<endl;
    201201 cout<<"---- Npix total = "<<Npix<<" -> "<<Npix*sizeof(double)/1.e6<<" Mo"<<endl;
    202202
     
    275275 // dnu = NuHi/(1.+z0-dz/2) - NuHi/(1.+z0+dz/2)
    276276 //     = NuHi*dz/(1.+z0)^2 * 1/[1-(dz/(2*(1+z0)))^2]
     277 //    ~= NuHi*dz/(1.+z0)^2
    277278 double dnuhiz = Fr_HyperFin_Par *dred/(unplusz*unplusz)
    278279               / (1.- pow(dred/.2/unplusz,2.));
Note: See TracChangeset for help on using the changeset viewer.