-
Notifications
You must be signed in to change notification settings - Fork 10
Home
pappy is a library of python routines for manipulating and plotting PDFs that are stored in the form of a list of sample parameter "vectors". The main documentation is in the headers of the primary program files. These primary programs are:
- CornerPlotter.py: plotting requested 1 and 2D marginalised PDFs as histograms.
- Amplifier.py: generating N samples consistent with being drawn from the same PDF as the initial set
To use the pappy library and its primary programs, you should use git to make a read-only "clone" of the pappy repository on your local machine, and then follow the install guidelines in the README. You'll need the following command:
git clone http://github.com/drphilmarshall/pappy.git
This will make a directory called "pappy" in your $cwd. The pappy library will then be available to import into python after you run:
python setup.py install
To run the main programs as command-line scripts, make sure they are executable and then add the pappy/pappy directory to your path.
Fork away!
At present the routines in pappy do not do anything particularly advanced. Still, if you find them useful in your research, it'd be nice to acknowledge Phil Marshall and Daniel Foreman-Mackey for their efforts!