You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/index.rst
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,31 +17,36 @@ For a standard non-editable installation use::
17
17
The --user is optional and only required if you don't have write permission to your main python installation.
18
18
If you want to work on the code from `GitHub <https://github.com/cmbant/camb>`_, you can also just install in place without copying anything using::
with no need for a Fortran compiler (unless you want to use custom sources/symbolic compilation features).
33
-
Check that conda installs the latest version, if not try installing in a new clean conda environment.
35
+
Check that conda installs the latest version, if not try installing
36
+
in a new clean conda environment as above.
34
37
35
38
After installation the camb python module can be loaded from your scripts using "import camb".
39
+
36
40
You can also run CAMB from the command line reading parameters from a .ini file, e.g.::
37
41
38
42
camb inifiles/planck_2018.ini
39
43
40
-
You may need to check your python scripts directory is in your path for this to work.
41
-
Alternatively from the source package root directory (after make but without installation) use::
44
+
You may need to check your python scripts directory is in your path for this to work. Alternatively from the source package root directory (after make but without installation) use::
42
45
43
46
python camb.py inifiles/planck_2018.ini
44
47
48
+
Sample .ini files can be obtained from the `repository <https://github.com/cmbant/CAMB/tree/master/inifiles>`_. You can load parameters programmatically from an .ini file or URL using :func:`.camb.read_ini`.
0 commit comments