-
Notifications
You must be signed in to change notification settings - Fork 31
classy: the python wrapper
ardok-m edited this page Jun 9, 2017
·
3 revisions
For a detailed documentation on classy see the CLASS wiki.
If classy
was not previously compiled (because we used make class
instead of make
), we have to compile it now:
make classy
Note that make classy
do NOT update classy.c
with any change done in the source code of (hi_)CLASS. If hi_class was modified, one must remove classy.c
(i.e rm python/classy.c
) before running make classy
or, alternatively, in case recompilation is always desired, create python/setup.cfg
and put in it:
[build_ext]
force=1
See Python-wrapper/basic-usage section in CLASS wiki
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: