fourdfpy
This is a (very!) simple package for converting the binary data from Avi Snider's 4dfp neuroimaging file format into a Numpy array, that can then be used in your Python scripts.
Based off of the Julia package written by Michael Myers.
Install
pip install fourdfpy
Running
import fourdfpy
my_4dfp_data = fourdfpy.load("/path/to/myimg")
The path to the 4dfp files should only include the root name without the extension (example: "/path/to/myimg.4dfp.img" should instead be "/path/to/myimg"). Make sure the .4dfp.img and .4dfp.hdr files are in the same directory.
- TODO: add support for including file extension.
Metadata
Release files for fourdfpy 0.0.3
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 |
|---|---|---|---|---|
| fourdfpy-0.0.3.tar.gz | 3.2 kB | Without provenance | Details for fourdfpy-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fourdfpy-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for fourdfpy-0.0.3-py3-none-any.whl |
Total release size: 6.5 kB
Release files / fourdfpy-0.0.3.tar.gz
| Download URL | fourdfpy-0.0.3.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51222dce16aebeb7eae2b1b7f8fe17f741d352b34ab590bc37cc4cefdc9474bb
|
|
BLAKE2b-256 checksum How to use checksums |
097b59da84a2cb4512cde833e5dd8eeaac2dd09eec992173614fcc6cecf7aceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|
Release files / fourdfpy-0.0.3-py3-none-any.whl
| Download URL | fourdfpy-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05098ba796553c3bf8a8b9b5156cb83cff044bc7ab2c994054ac1b4abd9e9777
|
|
BLAKE2b-256 checksum How to use checksums |
dd45e0ea70e8507503b09de2c70aef6cadf5a7bd9084c40e647a8f5d6e702cde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.11
|
Security for fourdfpy 0.0.3
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.