Currently under development.
This folder contains a very rough draft /
development version /
idea gathering file(s)
for pgdtools
.
Use at your own risk!
The idea behind this folder is to have a place
to share (really) early versions of pgdtools
with colleagues for testing
and feedback.
Thinks might change at any time!
There's no guarantee for consistency,
or anything, you've been warned.
That being said,
there should also be example files.
Have a look at the latest dates, etc.,
in order to find one that might work.
Feedback extremely welcome!
In the first cell of your jupyter notebook, run the following code:
%pip install git+https://github.com/galactic-forensics/pgdtools.git
This should pull the latest version
of pgdtools
from GitHub and install it.
To test, follow steps below.
To use this module, clone this repository and enter it:
git clone https://github.com/galactic-forensics/pgdtools.git
cd pgdtools
It is recommended that you use a virtual python environment for the following steps. Also: these steps have been tested with python 3.9.
First, install the python requirements, then the package itself. You can skip the jupyter and ipython line if you do not want to use these tools.
pip install .
Now you should be ready to use pgdtools
from your session. Try the following:
import pgdtools
pg = pgdtools.PresolarGrains()
If this does not throw an error, you should be fine and the presolar grain database was found.
The examples
folder contains some examples for you to read through.
There are some pure python exampmles,
as well as an ipython notebook for your consideration.
Please let me know if things are unclear, etc.
The presolar grain database
can be found at
https://presolar.physics.wustl.edu/presolar-grain-database/.
Note that only the SiC database
is currently thought of being error free.
The current version of pgdtools
includes the 2021-01-10 version
of the presolar SiC grain database,
which is the current version as of this writing (Nov 2021).
To make a development installation, type:
pip install -e .[dev]
This will install all required packages.
More to come on this...