Skip to main content

Tidal signal with Python and SPICE

Project description

TSPICE

Tidal Signal with Python and SPICE

Description

\href{https://pypi.org/project/tspice/}{\textit{TSPICE}}, is a Python package developed my Bachelor's thesis work, "Tidal Potential: Calculations", to facilitate the calculation of the tidal potential and the planetary response. The package incorporates routines and integration schemes we described there.

Installation

It is already available on PyPI, so you can install it easily with:

pip install tspice

After this, you can start using the package after importing it:

import tspice

Once the package is installed and imported into your script, you should run the following before you start using it:

tspice.initialize()

This downloads and loads the necessary SPICE kernels from the NAIF website. Internally, \texttt{initialize} looks for the kernels in the package's structure, and if they don't exist, it loads them with \texttt{furnsh}. If the kernels and the structure where they are stored don't exist, this function downloads them, creates the structure in the package folder, and loads them. Thus, the second time you use TSPICE, \texttt{initialize} won't download the kernels again. This guarantees that the necessary kernels are available before any calculation.

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

tspice-0.0.2.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

tspice-0.0.2-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file tspice-0.0.2.tar.gz.

File metadata

  • Download URL: tspice-0.0.2.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for tspice-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b38bf15431e2d223ed1e7e9f809e40fee466c31fe479b23b635d1229e667b9af
MD5 0bdf9ee1913973445eebea696f924515
BLAKE2b-256 38c74e1c5f756529d478bfbf778b876a80874590057c31b340052379c960fe00

See more details on using hashes here.

File details

Details for the file tspice-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tspice-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.7

File hashes

Hashes for tspice-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ef1a082e893a968414ea6f472c8c322954b4a54f5cf4552f3356be2b7a078696
MD5 7c5508368d274ac63c0c694de5bb8f27
BLAKE2b-256 c69cbec9cdbde6b4267eae2afc17e8a8ea7aae7f54527d895d249e26cbfd4129

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