-
Notifications
You must be signed in to change notification settings - Fork 30
Basic usage
Using hi_class is as simple as
./class explanatori.ini
explanatori.ini
is an "ini-file", i.e. a file containing some parameter values that you use as input for CLASS to compute the evolution of the Universe. A detailed description of the available parameters is found in explanatori.ini
. This file contains those parameters in common with CLASS. For hi_class specific information, see hi_class.ini
.
(hi_)CLASS has a lot of precision parameters which default values are found in source/input.c
. We can modify them in our "ini-file" or excuting CLASS with a second input file which contains the desired values.
./class explanatori.ini cl_ref.pre
Useful values are stored in the .pre
files in the main directory.
Noobies note: explanatori.ini
and cl_ref.pre
are only two example of input files. You can create your own and name it whatever you want as long as it contains valid variable names and values and its file extension is .ini
or .pre
Home
Installation
Basic usage
classy: the python wrapper
Introducing new models
The code:
- Code 1: Philosophy and structure
- Code 2: Indexing
- Code 3: Errors
- Code 4: input.c
- Code 5: background.c
- Code 6: thermodynamics.c
- Code 7: perturbations.c
- Code 8: primordial.c
- Code 10: output.c
- Other modules
- classy: classy.pyx and classy.pxd
Examples: