Changeset 3354 in Sophya
- Timestamp:
- Oct 22, 2007, 10:29:41 AM (18 years ago)
- Location:
- trunk/Cosmo/SimLSS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/cmvobserv3d.cc
r3353 r3354 47 47 <<" -R schmassdist.ppf : read mass distribution for trials from file"<<endl 48 48 <<" instead of computing it (ONLY if \"-Q\" option is activated)"<<endl 49 <<" -8 sigmaR,R : normalisation du spectre de puissance, R en Mpc"<<endl 50 <<" (default sigmaR=1, R=8/h100 Mpc)"<<endl 49 51 <<" -W : write cube in FITS format (complex cube is coded as real cube)"<<endl 50 52 <<" -P : write cube in PPF format"<<endl … … 131 133 132 134 char c; 133 while((c = getopt(narg,arg,"ha0PWSV2UG:F:x:y:z:s:Z:M:A:T:N:Q:R: ")) != -1) {135 while((c = getopt(narg,arg,"ha0PWSV2UG:F:x:y:z:s:Z:M:A:T:N:Q:R:8:")) != -1) { 134 136 int nth = 0; 135 137 switch (c) { … … 185 187 ////sscanf(optarg,"%lf,%lf,%lf",&lfjy_agn,&lsigma_agn,&powlaw_agn); 186 188 ////break; 189 case '8' : 190 sscanf(optarg,"%lf,%lf",&sigmaR,&R); 191 break; 187 192 case 'V' : 188 193 compvarreal = true; -
trunk/Cosmo/SimLSS/genefluct3d.cc
r3353 r3354 1023 1023 // Par definition: SigmaR^2 = <(M-<M>)^2>/<M>^2 1024 1024 // ou M = masse dans sphere de rayon R 1025 // --- ATTENTION: la variance calculee a une tres grande dispersion 1026 // (surtout si le volume du cube est petit). Pour verifier 1027 // que le sigmaR calcule par cette methode est en accord avec 1028 // le sigmaR en input, il faut faire plusieurs simulations (~100) 1029 // et regarder la moyenne des sigmaR reconstruits 1025 1030 { 1026 1031 if(lp_>0) cout<<"--- VarianceFrReal R="<<R<<endl;
Note:
See TracChangeset
for help on using the changeset viewer.