Pytesimal
Pytesimal models the conductive cooling of planetesimals with temperature-dependent material properties.
Pytesimal is a finite difference code to perform numerical models of a conductively cooling planetesimal, both with constant and temperature-dependent properties. It returns a thermal history of the planetesimal, and contains modules to estimate the timing and depth of pallasite meteorite genesis.
Features
- Constant or variable material properties
- Choose to return compressed
.npzNumPy arrays of temperature and cooling rates through time and radius - Plot temperature or cooling rate heatmaps
- Return timing of core solidification, and depth and timing of meteorite formation
- Return a parameter
.jsonfile with details of input parameters and results
Installation
This software relies on python (version 3.6 and up) and various other python packages. Examples are distributed as Jupyter notebooks, which need Jupyter and Matplotlib to run. Installation and management of all these dependencies is most easily done in a conda environment.
conda create -n=pytesimal python=3.8 jupyter
conda activate pytesimal
pip install pytesimal
Installation for development
The package can be downloaded and installed directly from Github for the most recent version. The software and its dependencies are best installed in a virtual environment of your choice. Download of the software and creation of an isolated conda environment can be done by running:
git clone https://github.com/murphyqm/pytesimal.git
cd pytesimal
conda create -n=pytesimal python=3.8 jupyter
conda activate pytesimal
pip install -e .
The -e flag installs the package in editable mode so that any changes
to modules can be carried through.
Getting started
Open up some examples on Binder or download some examples from our gallery here.
Contribute
- Issue Tracker: github.com/murphyqm/pytesimal/issue
- Source Code: github.com/murphyqm/pytesimal
Support
If you are having issues, please let us know. You can email us at eememq@leeds.ac.uk
License
The project is licensed under the MIT license.
Release files for pytesimal 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytesimal-2.0.0.tar.gz | 21.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytesimal-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.6 kB
Release files / pytesimal-2.0.0.tar.gz
| Download URL | pytesimal-2.0.0.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c4dc6cd45eff0bb72a5e6c6e4648cab123b83f5b4f32a433486d61e38823d12
|
|
BLAKE2b-256 checksum How to use checksums |
d4c9465a38dc896d0a036bd7b70d25e4e2893cf45ba29996b0135a3a781b5877
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|
Release files / pytesimal-2.0.0-py3-none-any.whl
| Download URL | pytesimal-2.0.0-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbd682d8d7ca6f4b70bb3d06c441098de434571258861ed05c61281378c83ff5
|
|
BLAKE2b-256 checksum How to use checksums |
7a5483961da676ad5dbaf988051f900544ee774b69af0073dfea00b72d55d925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
|