Free Access
Table 2
Example of a typical call sequence for iCosmo, with different levels of the code separated by horizontal lines.
Instruction | Description | |
|
||
1 | fid=set_fiducial(cosmo_in={omega_m:0.31}) | Set fiducial parameters, choosing a non-default value of the parameter Ωm |
2 | cosmo=mk_cosmo(fid) | Compute basic cosmological quantities (e.g., distance measures, power spectrum) |
3 | plt_cosmo,cosmo,“z”, “da” | Plot angular-diameter distance DA(z) as a function of redshift z |
4 | plt_pk,cosmo,z=0 | Plot non-linear matter power spectrum P(k) at z = 0 |
|
||
5 | sv=mk_survey(fid,“sv1”) | Read survey parameters for the preset DUNE experiment |
6 | cl=mk_cl_tomo(fid,cosmo,sv) | Compute cosmic shear power spectrum Cl |
7 | cl_cov=mk_cl_cov_tomo(fid,cl,sv) | Compute cosmic shear power spectrum errors |
8 | plt_cl,cl,[0,0],cl_cov,/errors | Plot shear power spectrum and associated errors |
|
||
9 | fish=mk_fisher_lens(fid,sv) | Compute Fisher matrix for the specified lensing survey |
10 | margin_fisher,fish,fish2,[0,1,1,0,0,0,0,0] | Marginalise Fisher matrix over unwanted parameters |
11 | plt_fisher_2p,fisher2 | Plot Fisher matrix error contraints for interesting parameters w0 and wa |
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.