Skip to main content

Python wrapper for SphericalFourierBesselDecompositions.jl

Project description

SuperFaB

Stable Dev Build Status

SuperFaB is a code for cosmological spherical Fourier-Bessel (SFB) analysis. The details of the code are presented in 2102.10079.

The name of this package is SphericalFourierBesselDecompositions.jl.

For installation instructions and a tutorial, see the Documentation.

pySuperFaB: Python wrapper for SphericalFourierBesselDecompositions.jl

This is a simple Python wrapper for SphericalFourierBesselDecompositions.jl.

Installation

pip install .

The only dependency (from a Python perspective) is juliacall, which is available in conda as pyjuliacall.

Usage

You can use this as any other Python package. Under the hood it uses JuliaCall, which on first import will automatically download Julia if you don't already have it. It will also then download the SphericalFourierBesselDecompositions.jl Julia package.

Use like so:

from pysuperfab import SFB

kmin = 0.05
rmin = 0.0
rmax = 2300.0
amodes = SFB.AnlmModes(kmin, rmin, rmax)

That should start looking really familiar from the SphericalFourierBesselDecompositions.jl documentation.

How to make a release

  1. Edit version field in Project.toml.
  2. Edit version field in pysuperfab/juliapkg.json.
  3. Edit version field in pyproject.toml.
  4. Commit version updates.
  5. Comment with @JuliaRegistrator register() on that commit. This will publicize the package in the Julia General registry.
  6. Python package could be uploaded... somwhere

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

pysuperfab-0.5.15.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

pysuperfab-0.5.15-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pysuperfab-0.5.15.tar.gz.

File metadata

  • Download URL: pysuperfab-0.5.15.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for pysuperfab-0.5.15.tar.gz
Algorithm Hash digest
SHA256 63488d3058bbf1afe908c8e5fa4119aed1e02091b1b5f1ac829872b08f87133b
MD5 c510da3de336b1e9918c46bcc4e2955f
BLAKE2b-256 2106f02cea97a83c72fa8a0f7ff440c0913ffe0abaf0b1088675dd6bd62ab7ab

See more details on using hashes here.

File details

Details for the file pysuperfab-0.5.15-py3-none-any.whl.

File metadata

  • Download URL: pysuperfab-0.5.15-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for pysuperfab-0.5.15-py3-none-any.whl
Algorithm Hash digest
SHA256 ffca82640f5d0545e5f9783cd9d49557e7e61f45797d9206d86e50e38e3d44ab
MD5 de5cc02f01d20770bc7420452c8c1cdf
BLAKE2b-256 453a30cbfdc95c0a8dced85c90b73ef88e351d93e2e03a1487cb7766f716cfd0

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