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, Daniele Melini, Giorgio Spada, Steven D. Vance, Marshall J. Styczinski

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.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

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

PyALMA3-1.0.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file PyALMA3-1.0.0.tar.gz.

File metadata

  • Download URL: PyALMA3-1.0.0.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

Hashes for PyALMA3-1.0.0.tar.gz
Algorithm Hash digest
SHA256 981854fcdadb15cf001f408ce43844c53af6ea5d1cc67fc015ae5956c157afa8
MD5 f15b498613038152cc6b986b5efe6beb
BLAKE2b-256 d26e59e2a502c0b50e13884ff7826d8a2547bef005dcb1256f1490334cfd6b52

See more details on using hashes here.

File details

Details for the file PyALMA3-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: PyALMA3-1.0.0-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

Hashes for PyALMA3-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84a9b57fa01699a7f94d9b114681269b8aff0f401f1dd0f83c2030845ba9a66f
MD5 6b49ef95b85b0b2a91a588adb7f18dde
BLAKE2b-256 16f467c25687b479bd400eeaf2fccfb7e373b6cde83fd3a27fcfd61717f502a0

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