Skip to content

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

Basic usage

See Python-wrapper/basic-usage section in CLASS wiki