quadcube
Python library (written in rust) that currently provide one method pix2vec for converting between quadcube res15 pixel number to ecliptic unit vectors.
The code is a reimplementation of parts of the COBE DIRBE map binning routines provided by A.J. Banday. See the COBE Explanatory Supplement for more information.
Install
pip install quadcube
Example
import quadcube
quadcube.pix2vec(98477345)
# >>> array([[0.37147827],
# [0.62248052],
# [0.6888555 ]])
pixels = [315879751, 238749305, 408302824, 290970621, 427780527]
quadcube.pix2vec(pixels)
# >>> array([[ 0.90477257, -0.51544922, 0.91755844, 0.74030402, 0.98561299],
# [-0.40535959, 0.10338045, -0.39665074, -0.00232418, -0.00949373],
# [-0.13065298, 0.85066127, 0.02747185, -0.67226822, 0.16875101]])
Metadata
Release files for quadcube 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quadcube-1.0.0.tar.gz | 22.7 kB | Without provenance | Details for quadcube-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quadcube-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details for quadcube-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
Total release size: 268.4 kB
Release files / quadcube-1.0.0.tar.gz
| Download URL | quadcube-1.0.0.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a10193ddb39f7324a0ca8365855ed01d707ff84f6f380fa904354c57bf0b6c79
|
|
BLAKE2b-256 checksum How to use checksums |
1be60f0bb12e37d7daef5583c0c857ac26f37e5d1a1d40f29729532fcd897fbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.16
|
Release files / quadcube-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | quadcube-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 245.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
72a3a53025ef437e437726d27d95b065e96d9a606ef795c82dcfd39795f19485
|
|
BLAKE2b-256 checksum How to use checksums |
b4710089f0d9cb76173764d16a9799a026a1a63e16e58ca1e0c527645075a906
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.14.16
|
Security for quadcube 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.