-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48a1368
commit f9b3963
Showing
7 changed files
with
47 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
include README.rst | ||
recursive-include fgivenx/test/baseline_images/ *.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
""" | ||
The main driving routines for this package are: | ||
* :func:`plot_contours <fgivenx.drivers.plot_contours>` | ||
* :func:`plot_lines <fgivenx.drivers.plot_lines>` | ||
* :func:`plot_dkl <fgivenx.drivers.plot_dkl>` | ||
* :func:`samples_from_getdist_chains <fgivenx.samples.samples_from_getdist_chains>` | ||
Example import and usage: | ||
>>> import numpy | ||
>>> from fgivenx import plot_contours, plot_lines, plot_dkl, samples_from_getdist_chains | ||
>>> | ||
>>> file_root = '/my/getdist/file/root' | ||
>>> params = ['m', 'c'] | ||
>>> samples = samples_from_getdist_chains(params, file_root) | ||
>>> x = numpy.linspace(-1, 1, 100) | ||
>>> | ||
>>> def f(x, theta): | ||
>>> m, c = params | ||
>>> y = m * x + c | ||
>>> return y | ||
>>> | ||
>>> plot_contours(f, x, samples) | ||
""" | ||
|
||
from fgivenx.drivers import plot_contours, plot_lines, plot_dkl | ||
from fgivenx.samples import samples_from_getdist_chains |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters