A simple zero-dependenct module for calculating Wigner 3j and 6j symbols.
This package has not yet been published on PyPI.
Navigate to the directory and run
pip install .
It is very simple to calculate 3j and 6j symbols:
from wigner_symbols import calculate_3j, calculate_6j
calculate_3j(2.0, 2.0, 2.0, 0.0, 0.0, 0.0) # returns -0.2390457
calculate_6j(1.0, 2.0, 3.0, 2.0, 1.0, 2.0) # returns 0.04364358
Install all dependencies:
poetry install
To run tests:
poetry run pytest
Distributed under the MIT license. See LICENSE
for more information.
- Fork this repository
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request