Changeset 3462 in Sophya for trunk/Cosmo/SimLSS


Ignore:
Timestamp:
Feb 13, 2008, 5:15:57 PM (18 years ago)
Author:
cmv
Message:

protect for integration step in cosmology when redshift very small cmv 13/02/2008

File:
1 edited

Legend:

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

    r3367 r3462  
    116116
    117117 // --- Pour taille du survey
    118  double dx=0., dy=-1., dz=0., txlarg=0., tylarg=-1., tzlarg=0.;
     118 double dx=1., dy=-1., dz=0.0007, txlarg=100., tylarg=-1., tzlarg=0.1;
    119119 int nx=0, ny=0, nz=0;
    120120 char unit_x = 'A', unit_y = 'A', unit_z = 'Z';
     
    234234   cout<<"Unknown unit_z = "<<unit_z<<endl; return -2;
    235235 }
     236
     237 // On estime la valeur du redshift le plus grand
     238 double bigred = redshift0 + dz/univ.Dhubble()*univ.E(redshift0) * nz/2.;
     239 cout<<"bigest redshift estimated to be "<<bigred<<endl;
     240 dzinc=bigred/100.; dzmax=dzinc*10.;
     241 univ.SetInteg(perc,dzinc,dzmax,glorder);
    236242
    237243 // ---
     
    746752     cout<<"\n...Observation limits for a N (large) telescope interferometer (with complex correlator)"<<endl
    747753         <<"     (weak source limit sensitivity in a synthetised image)"<<endl
    748          <<"     Also valid for a single dish telescope."<<endl;
     754         <<"     Also valid for a single dish telescope"<<endl
     755         <<"          (add factor sqrt(2) if ON-OFF with T_ON=t_OFF)"<<endl;
    749756   } else continue;
    750757
Note: See TracChangeset for help on using the changeset viewer.