#include "sopnamsp.h" #include "machdefs.h" #include #include #include #include #include #include #include "timing.h" #include "histos.h" #include "tvector.h" #include "ntuple.h" #include "perandom.h" #include "constcosmo.h" #include "pkspectrum.h" #include "geneutils.h" void usage(void); void usage(void) { cout<<"cmvtstpk [options] z_redshift"< vpkz(npt); FuncToVec(pkz,vpkz,lkmin,lkmax,true); FunRan talea(hpkz,true); Histo halea(hpkz); halea.Zero(); int nalea = 100000; for(int i=0;i>>> ASCII"<>>> Ecriture"<0. ! "nsta connectpoints" #### Gestion des abscisses set xk log10(k) set xk k #### fct de transfert zone n/plot nt.tf%$xk ! ! "nsta connectpoints" n/plot nt.tfnosc2%$xk ! ! "nsta connectpoints same red" n/plot nt.tfnosc1%$xk ! ! "nsta connectpoints same blue" n/plot nt.tfnob%$xk ! ! "nsta connectpoints same green" n/plot nt.tf/tfnosc2%$xk ! ! "nsta connectpoints red" n/plot nt.tf/tfnosc1%$xk ! ! "nsta connectpoints same blue" n/plot nt.tf/tfnob%$xk ! ! "nsta connectpoints same green" addline -10 1 10 1 #### Spectre a z=0 zone n/plot nt.pk0%$xk ! ! "nsta connectpoints" n/plot nt.pk0nosc2%$xk ! ! "nsta connectpoints same red" n/plot nt.pk0nosc1%$xk ! ! "nsta connectpoints same blue" n/plot nt.pk0nob%$xk ! ! "nsta connectpoints same green" # Check zone 2 2 n/plot nt.pk0/pkini-tf*tf%$xk pkini>0 ! "nsta crossmarker3" n/plot nt.pk0nosc2/pkini-tfnosc2*tfnosc2%$xk pkini>0 ! "nsta crossmarker3" n/plot nt.pk0nosc1/pkini-tfnosc1*tfnosc1%$xk pkini>0 ! "nsta crossmarker3" n/plot nt.pk0nob/pkini-tfnob*tfnob%$xk pkini>0 ! "nsta crossmarker3" #### Spectre a z zone n/plot nt.pk%$xk ! ! "nsta connectpoints" n/plot nt.pknosc2%$xk ! ! "nsta connectpoints same red" n/plot nt.pknosc1%$xk ! ! "nsta connectpoints same blue" n/plot nt.pknob%$xk ! ! "nsta connectpoints same green" n/plot nt.pk/pknosc2%$xk ! ! "nsta connectpoints red" n/plot nt.pk/pknosc1%$xk ! ! "nsta connectpoints same blue" n/plot nt.pk/pknob%$xk ! ! "nsta connectpoints same green" addline -10 1 10 1 #### Le spectre version Delta^2 set D2 k*k*k*pk/(2*M_PI*M_PI) n/plot nt.$D2%$xk ! ! "nsta crossmarker3 connectpoints" #### Test des transferts dans Histo et TVector zone 1 2 n/plot nt.pk%log10(k) ! ! "nsta crossmarker3" disp hpkz "same red" disp vpkz c++exec cout<