Welcome to TensoSSHT’s documentation!

TensoSSHT is a fast and exact harmonic transform for Tensorflow.

Installation

TensoSSHT is released on [pypi](https://pypi.org/project/tensossht/) and can be installed via pip:

> pip install tensossht

It is also possible to install it from source. TensoSSHT is developed with [poetry](https://python-poetry.org/). and run:

> git clone https://gitlab.com/kagenova/copernicai/tensossht
> cd tensossht
> poetry install --with=docs
> poetry run pytest  # Optional, all tests should pass :)
> poetry run python

–with=docs also installs the dependencies for building the documentation and is not strictly necessary otherwise.

A Note about Performance

As of tensorflow 2.11, we’ve had varying success running the forward and inverse transforms depending on hardware. On CPUs the inverse and forward transform perform more or less the same, with the latter having a slight edge. On GPUs however, the inverse transform can be quite a bit slower, especially at large L.

Indices and tables