ToF-SIMS BIF6 file parsing library
Project description
pybif6
This tiny project rewrites the BIF6 file parsing part of the R package tofsims in Python.
Usage
import pybif6
for inteval_image in pybif6.parse_bif6("path/to/bif6/file"):
print(
f'id: {inteval_image.id}, '
f'mz_lower: {inteval_image.mz_lower}, '
f'mz_middle: {inteval_image.mz_middle}, '
f'mz_upper: {inteval_image.mz_upper}, '
f'image: {inteval_image.image.shape}'
)
# The image data is stored in `inteval_image.image`, a 2D numpy array.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybif6-0.1.0.tar.gz
(14.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pybif6-0.1.0-py3-none-any.whl
(15.3 kB
view details)
File details
Details for the file pybif6-0.1.0.tar.gz.
File metadata
- Download URL: pybif6-0.1.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.20.0.post1 CPython/3.12.7 Linux/6.11.5-zen1-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b2c5333b3390f16e9a8edde7ca056286aaabdc7b7093dee4074cc62fc61a62a
|
|
| MD5 |
d65655aa17a61265077337f9e1207e50
|
|
| BLAKE2b-256 |
d52cc03b4ea3f1e2b05b2f37f92c430649c1028c0585d836e0da1048ce8d9a50
|
File details
Details for the file pybif6-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pybif6-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.20.0.post1 CPython/3.12.7 Linux/6.11.5-zen1-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4379d482901e7f19fa43ae3478a4c8fe78dc88b8f2394e100b810fc011bb5dbb
|
|
| MD5 |
c77b028521a9206a503455648f84653d
|
|
| BLAKE2b-256 |
8d45895b48c3e6fc61a942c23841291edc44ac49eed3b9644980cd00ab0cb85c
|