Package to create, load, edit, and save files following the nxxrdct application definition.
Project description
The goal of the nxxrdct project is to provide a python API to create, load, edit, and save NXxrdct application definition files.
Please find at https://nxxrdct.readthedocs.io/en/latest/ the latest documentation
pip install nxxrdct
Add the optional extras when you need documentation or development tooling:
pip install nxxrdct[doc,test]
Quick Start
import numpy as np
import pint
from nxxrdct import NXxrdct
ureg = pint.get_application_registry()
nx = NXxrdct()
nx.title = "Demo XRD-CT"
nx.beam.incident_energy = 60 * ureg.keV
nx.sample.name = "sample-01"
nx.sample.rotation_angle = np.linspace(0, 180, 181) * ureg.degree
nx.instrument.detector.data = np.zeros((181, 256, 256))
nx.instrument.detector.count_time = 0.1 * ureg.second
nx.save("demo_xrdct.h5", data_path="entry")
Documentation and Support
- Latest documentation: https://nxxrdct.readthedocs.io/en/latest/
- API reference: https://nxxrdct.readthedocs.io/en/latest/api.html
- Report issues and follow development on GitHub: https://github.com/nexuscontributions/nxxrdct/issues
Contributing
Contributions and feedback are welcome. Please open an issue or submit a merge request on Github. See the development guide in doc/development for details on setting up a local environment and running the test suite.
License
nxxrdct is released under the MIT License. See LICENSE for the full text.
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
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
File details
Details for the file nxxrdct-0.1.0a0.tar.gz.
File metadata
- Download URL: nxxrdct-0.1.0a0.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da5b36e49f8c999b7a0bdf7d92d36ae62b98fba19433d70f937cd366c11b99a6
|
|
| MD5 |
e7aca8f9cc39065917d81016aecdc0a1
|
|
| BLAKE2b-256 |
88199e98fa89f0e36cd8ecc13ada8d58132d17749f312efc4419975bea06202a
|
File details
Details for the file nxxrdct-0.1.0a0-py3-none-any.whl.
File metadata
- Download URL: nxxrdct-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87bfde300dfbafee9234e8c525c10f6526db3ed914938eeb4a03ae2f27707e3c
|
|
| MD5 |
51b31ce8eabecfbaa235991bcba7a03b
|
|
| BLAKE2b-256 |
4cc046e81bcdae585b0dc5856e0fe636ca9c38e516b2ba2f153b2c7a2264f18b
|