This release is a pre-release and may not be stable for production use.
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.translation_values = np.linspace(-1, 1, 64) * ureg.mm
nx.sample.rotation_angles = np.linspace(0, 180, 181) * ureg.degree
nx.data.radial_axis = np.linspace(1, 15, 1000) * ureg.degree
nx.data.radial_axis_long_name = "2theta"
# Azimuthally integrated intensity, shape (nTrans, nRot, nRadialBins)
nx.data.intensity = np.zeros((64, 181, 1000))
nx.instrument.detector.count_time = 0.1 * ureg.second
nx.save("demo_xrdct.nxs", 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.
Metadata
Release files for nxxrdct 0.1.0b1
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 |
|---|---|---|---|---|
| nxxrdct-0.1.0b1.tar.gz | 19.4 kB | Without provenance | Details for nxxrdct-0.1.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nxxrdct-0.1.0b1-py3-none-any.whl | Python 3 | none | any | Details for nxxrdct-0.1.0b1-py3-none-any.whl |
Total release size: 40.8 kB
Release files / nxxrdct-0.1.0b1.tar.gz
| Download URL | nxxrdct-0.1.0b1.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d2dbb842892ea7483aeb8dcd6177e28f08e252880ac5340d801fe930203b458
|
|
BLAKE2b-256 checksum How to use checksums |
4f15294a6b0cfc1a4c25ad141fb2818659bbfdae783456738166ae0d9c90b7a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / nxxrdct-0.1.0b1-py3-none-any.whl
| Download URL | nxxrdct-0.1.0b1-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2009f95cdb7df70a053b10db09b24b8b4769a37bccfd47dd26ed0e819bf2a59
|
|
BLAKE2b-256 checksum How to use checksums |
aad9a531de4429f7b9da726a347d424b1133502def2d7e6db75e87b0f32cddb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for nxxrdct 0.1.0b1
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.