Skip to main content

Windows binary wheels for pywigxjpf

Project description

This package is a copy of pywigxjpf, https://pypi.org/project/pywigxjpf/. Its purpose is to distribute binary wheels of pywixjpf for Windows users.

The following text quotes the original pywigxjp package:

WIGXJPF evaluates Wigner 3j, 6j and 9j symbols accurately using prime factorisation and multi-word integer arithmetic.

Known issue

Please install pycparser first.

(See https://github.com/pypa/setuptools/issues/391#issuecomment-202919511 )

Inline usage information

Available inline:

import pywigxjpf as wig
help(wig)                # For interfaces.
help(wig.pywigxjpf)      # For usage information.

Library usage

The python interface to wigxjpf uses cffi.

Defines seven functions:

wig_table_init(max_two_j,wigner_type)
wig_table_free()
wig_temp_init(max_two_j)
wig_temp_free()

wig3jj(jj1,jj2,jj3, mm1,mm2,mm3)
wig6jj(jj1,jj2,jj3, jj4,jj5,jj6)
wig9jj(jj1,jj2,jj3, jj4,jj5,jj6, jj7,jj8,jj9)

Note that the arguments are to be given as integers, with twice the numeric value (this is what jj tries to indicate). I.e. half-integer arguments will be passed as odd integers.

The two init functions must be called before evaluating any symbol.

In addition, interfaces that take an array with the arguments are also provided:

wig3jj_array([jj1,jj2,jj3, mm1,mm2,mm3])
wig6jj_array([jj1,jj2,jj3, jj4,jj5,jj6])
wig9jj_array([jj1,jj2,jj3, jj4,jj5,jj6, jj7,jj8,jj9])

Project details


Release history Release notifications | RSS feed

This version

1.11

Download files

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

Source Distribution

pywigxjpf-win-1.11.tar.gz (53.1 kB view hashes)

Uploaded Source

Built Distributions

pywigxjpf_win-1.11-cp39-cp39-win_amd64.whl (40.8 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

pywigxjpf_win-1.11-cp38-cp38-win_amd64.whl (40.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

pywigxjpf_win-1.11-cp37-cp37m-win_amd64.whl (40.7 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

pywigxjpf_win-1.11-cp36-cp36m-win_amd64.whl (40.7 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page