Skip to content

Commit

Permalink
removed useless .ini and .pre files; added input files matching Planc…
Browse files Browse the repository at this point in the history
…k baseline models; struct_cleanup() now done automatically; several minor bug fixes

* 2.7:
  updated version number to 2.7.1 and doc
  small improvements in setup.py with absolute directory paths
  completed the fix for minor precision issue, relevant only with k_output_values + rkck evolver
  fixed small things for a neat compilation even with -Wall
  Completed changes in output for _cb with isocurvature; output indented; not yet tested
  Fixed comments and indentation in _cb part of spectra.c
  P_cb changes reviewed and checked up to transfer.c included
  added comment and improved style of P_cb correction  in nonlinear m odule. Yet to be tested.
  fixed minor precision issue, relevant only with k_output_values + rkck evolver
  Fixed small scanf counting mistake.
  updated the set of .pre files
  updated the set of .ini files
  Fixed whitespace and indentation.
  fixed a problem in the manual from release 2.7, and removed unnecessary files from the RSI
  Python wrapper: Prevent memory leaks from occuring.
  fixed small inconsistency in many_times.ipynb leading to errors with linux
  Added handling of printouts, which were generating spurious warnings during compilation. Furthermore, the code should be slightly safer now.
  • Loading branch information
lesgourg committed Oct 22, 2018
2 parents 4be2cb3 + a6920bb commit 3dc7888
Show file tree
Hide file tree
Showing 196 changed files with 1,863 additions and 3,043 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ class
libclass.a
*out
python/classy.c
python/*.pyc
*.pyc
python/build/
RealSpaceInterface/cache/
.DS_Store
Binary file removed RealSpaceInterface/Calc2D/CalculationClass.pyc
Binary file not shown.
Binary file removed RealSpaceInterface/Calc2D/DataGeneration.pyc
Binary file not shown.
Binary file removed RealSpaceInterface/Calc2D/DataPropagation.pyc
Binary file not shown.
Binary file removed RealSpaceInterface/Calc2D/Database.pyc
Binary file not shown.
Binary file removed RealSpaceInterface/Calc2D/TransferFunction.pyc
Binary file not shown.
Binary file removed RealSpaceInterface/Calc2D/__init__.pyc
Binary file not shown.
Binary file removed RealSpaceInterface/Calc2D/rFourier.pyc
Binary file not shown.
Binary file removed RealSpaceInterface/config.pyc
Binary file not shown.
62 changes: 62 additions & 0 deletions base_2015_plikHM_TT_lowTEB_lensing.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
# * CLASS input parameter file *
# *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

# Best fit parameters from Planck 2015
# Case 2.59 of:
# https://wiki.cosmos.esa.int/planckpla2015/images/f/f7/Baseline_params_table_2015_limit68.pdf
# (but with more significant digits, directly from the chains)

#----------------------------
#----> background parameters:
#----------------------------

H0 = 67.86682
omega_b = 0.02227716
N_ur = 2.03066666667
omega_cdm = 0.1184293
N_ncdm = 1
omega_ncdm = 0.0006451439

#--------------------------------
#----> thermodynamics parameters:
#--------------------------------

YHe = 0.245352
tau_reio = 0.06664549

#-------------------------------------
#----> primordial spectrum parameters:
#-------------------------------------

n_s = 0.9682903
A_s = 2.140509e-09

#-----------------------------
#----> non linear corrections:
#-----------------------------

non linear = halofit

#----------------------------------------
#----> parameters controlling the output:
#----------------------------------------

output = tCl,pCl,lCl,mPk
lensing = yes

root = output/base_2015_plikHM_TT_lowTEB_lensing_

write warnings = yes
write parameters = yes

input_verbose = 1
background_verbose = 1
thermodynamics_verbose = 1
perturbations_verbose = 1
transfer_verbose = 1
primordial_verbose = 1
spectra_verbose = 1
nonlinear_verbose = 1
lensing_verbose = 1
output_verbose = 1
62 changes: 62 additions & 0 deletions base_2018_plikHM_TTTEEE_lowl_lowE_lensing.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
# * CLASS input parameter file *
# *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

# Best fit parameters from Planck 2018
# Case 2.17 of:
# https://wiki.cosmos.esa.int/planck-legacy-archive/images/b/be/Baseline_params_table_2018_68pc.pdf
# (but with more significant digits, directly from the chains)

#----------------------------
#----> background parameters:
#----------------------------

H0 = 67.32117
omega_b = 0.02238280
N_ur = 2.03066666667
omega_cdm = 0.1201075
N_ncdm = 1
omega_ncdm = 0.0006451439

#--------------------------------
#----> thermodynamics parameters:
#--------------------------------

YHe = 0.2454006
tau_reio = 0.05430842

#-------------------------------------
#----> primordial spectrum parameters:
#-------------------------------------

n_s = 0.9660499
A_s = 2.100549e-09

#-----------------------------
#----> non linear corrections:
#-----------------------------

non linear = halofit

#----------------------------------------
#----> parameters controlling the output:
#----------------------------------------

output = tCl,pCl,lCl,mPk
lensing = yes

root = output/base_2018_plikHM_TTTEEE_lowl_lowE_lensing_

write warnings = yes
write parameters = yes

input_verbose = 1
background_verbose = 1
thermodynamics_verbose = 1
perturbations_verbose = 1
transfer_verbose = 1
primordial_verbose = 1
spectra_verbose = 1
nonlinear_verbose = 1
lensing_verbose = 1
output_verbose = 1
Loading

0 comments on commit 3dc7888

Please sign in to comment.