Skip to main content

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


Download files

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

Source Distribution

PyALMA3-1.0.1.tar.gz (25.5 kB view hashes)

Uploaded Source

Built Distribution

PyALMA3-1.0.1-py3-none-any.whl (25.8 kB view hashes)

Uploaded Python 3

Supported by

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