Skip to main content

Model the conductive cooling of planetesimals with temperature-dependent material properties.

Project description

Pytesimal

Documentation Status Binder GitHub DOI GitHub release (latest by date) GitHub Workflow Status Updates

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 .npz NumPy 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 .json file 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytesimal-2.0.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytesimal-2.0.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file pytesimal-2.0.0.tar.gz.

File metadata

  • Download URL: pytesimal-2.0.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pytesimal-2.0.0.tar.gz
Algorithm Hash digest
SHA256 1c4dc6cd45eff0bb72a5e6c6e4648cab123b83f5b4f32a433486d61e38823d12
MD5 46360e8c22d1d7e76271976f4e577166
BLAKE2b-256 d4c9465a38dc896d0a036bd7b70d25e4e2893cf45ba29996b0135a3a781b5877

See more details on using hashes here.

File details

Details for the file pytesimal-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: pytesimal-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pytesimal-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbd682d8d7ca6f4b70bb3d06c441098de434571258861ed05c61281378c83ff5
MD5 dcac919a82f507d63457b9520dfa5e5e
BLAKE2b-256 7a5483961da676ad5dbaf988051f900544ee774b69af0073dfea00b72d55d925

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page