Python plAnetary Love nuMbers cALculator
Project description
Python plAnetary Love nuMbers cALculator
PyALMA3 is a pythonized version of ALMA 3. This software package calculates tidal Love numbers given an appropriate model of interior structure for a planetary body.
Installation
The recommended installation method is with pip:
pip install PyALMA3
After installing with pip, copy over the default config file to your working directory with
python -m alma
Then to compute Love numbers, call PyALMA3 functions using e.g.
from alma import love_numbers
h, l, k = love_numbers(n, t,
alma_params['mode'],
alma_params['function'],
alma_params['tau'],
model_params,
alma_params['type'],
alma_params['gorder'],
verbose = alma_params['verbose'],
parallel = alma_params['parallel'])
See PP_example.ipynb for a complete example application.
Disclaimers and copyright
PyALMA3 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 or any later version.
PyALMA3 is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
GNU GPL: http://www.gnu.org/licenses/
Authors: Saikiran Tharimena, Marshall J. Styczinski, Daniele Melini, Giorgio Spada, Steven D. Vance, Flavio Petricca, Amirhossein Bagheri
Copyright (C) 2024 the authors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file PyALMA3-1.0.1.tar.gz
.
File metadata
- Download URL: PyALMA3-1.0.1.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7e27918fba1c061a7e7464d86f2d7417fd97e1530f4ac1e82cf43e75b83127 |
|
MD5 | 98243533a1205b49270af456961c27a2 |
|
BLAKE2b-256 | bae0c34fe8fc7597a60f77657bcfcc42b202fa1e7efcf4a1205549d468c3c34d |
File details
Details for the file PyALMA3-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: PyALMA3-1.0.1-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30bc1fa27b388344ab2bc74798e9d9af950a51afa40dfa954daac25a50502b74 |
|
MD5 | d30eb350decdbc7d6bf46226643fad6b |
|
BLAKE2b-256 | c209d4210fe4dca8bd28b7f255b77ddc8e0eaa64583c67ad148bf76d586a5d4c |