Skip to main content

[Project landing page] pipeline status License: GPL v3 Documentation Status Code style: black PyPI version

spectral

This is a collection of various spectral methods for numerical appraches.

  • Available Methods:

    • Chebyshev

    • Fourier

    • Sphercical Harmonics

    • Spin weighted spherical harmonics

Citing this code

Please cite the latest version of this code if used in your work. This code was developed for use in the following works:

  1. News from Horizons in Binary Black Hole Mergers
  2. Tidal deformation of dynamical horizons in binary black hole mergers

We request you to also cite these. Thanks!

Installing this package

Dependencies

This module has the following dependencies:

Recommended method

I recommend installing this module through pypi:

pip install spectral

Alternate method

Manual install directly from the git repo:

pip install git+https://github.com/vaishakp/spectral@main

Or from a clone:

  • First, clone this repository:
git clone https://github.com/vaishakp/spectral.git
  • Second, run python setup from the spectral directory:
cd spectral
python setup.py install --prefix="<path to your preferred installation dir>"

Manually setup conda environment

  • To create an environment with automatic dependency resolution and activate it, run
conda create env -f docs/environment.yml
conda activate wftools

Using this code

# Documentation

The documentation for this module is available at [Link to the Documentation](https://spectral.readthedocs.io/en/latest/). This was built automatically using Read the Docs.

In some case where the repo has run out of github CI minutes, the documentation is not automatically built. In such cases, we request the user to access the documentation through the `index.html` file in `docs` directory.


# Bug tracker
If you run into any issues while using this package, please report the issue on the [issue tracker](https://github.com/vaishakp/spectral/-/issues).

 
# Acknowledgements

This project has been hosted, as you can see, on github. Several github tools are used in the deployment of the code, its testing, version control.

The work of this was developed in aiding my PhD work at Inter-University Centre for Astronomy and Astrophysics (IUCAA, Pune, India)](https://www.iucaa.in/). The PhD is in part supported by the [Shyama Prasad Nukherjee Fellowship](https://csirhrdg.res.in/Home/Index/1/Default/2006/59) awarded to me by the [Council of Scientific and Industrial Research (CSIR, India)](https://csirhrdg.res.in/). Resources of the [Inter-University Centre for Astronomy and Astrophysics (IUCAA, Pune, India)](https://www.iucaa.in/) were are used in part.

Download files

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

Source Distribution

spectools-2026.8.12.tar.gz (987.6 kB view details)

Uploaded Source

Built Distribution

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

spectools-2026.8.12-py3-none-any.whl (105.3 kB view details)

Uploaded Python 3

File details

Details for the file spectools-2026.8.12.tar.gz.

File metadata

  • Download URL: spectools-2026.8.12.tar.gz
  • Upload date:
  • Size: 987.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for spectools-2026.8.12.tar.gz
Algorithm Hash digest
SHA256 f4120d770f3a93095d823bb40e31707a362c0a0ec76e7385690e4579d8fb5172
MD5 f8101812aa15174a373b69e2e3b0b57b
BLAKE2b-256 5e2675d80e2f7f77e2d870bec9fe2c167cd9f4b96272c7e1e5158677aa8c313f

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectools-2026.8.12.tar.gz:

Publisher: python-publish.yml on vaishakp/spectral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spectools-2026.8.12-py3-none-any.whl.

File metadata

  • Download URL: spectools-2026.8.12-py3-none-any.whl
  • Upload date:
  • Size: 105.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for spectools-2026.8.12-py3-none-any.whl
Algorithm Hash digest
SHA256 afde1351ef5be27fcd1edf6e8af2fc8f6c0c86dae849e8d24eea8b1575f358d7
MD5 27ad6fb716d5d4858ba2dfb543f1ae78
BLAKE2b-256 86b8a81065ba3a16c5954979e35a04a8b02308191598f10a573cae46ec2ef882

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectools-2026.8.12-py3-none-any.whl:

Publisher: python-publish.yml on vaishakp/spectral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2026.9.9

2 files

This release

2026.8.12 This release

2 files

2026.8.8

2 files

2025.7.16

2 files

2025.7.15.1

2 files

2025.7.15

2 files

2025.6.18

2 files

2025.6.17.4

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page