SusMat crystallinity calculator
Description
This python script can be used to plot the fitted WAXS data output from TOPAS academic and determine the cellulose (or other polymer) crystallinity using the Ruland method.
Installation
pip install SusMat-Crystallinity-Calculator
Usage
This requires a .txt file saved from TOPAS (academic) as input.
Local usage
To plot the output from one fitting:
sm-cryst --svg filename.txt
To plot the output from a folder full of files using powershell:
Get-ChildItem -Filter *.txt | ForEach-Object -Process {sm-cryst --svg $_.BaseName}
Remote usage (iRODS/ManGO)
Calculate the crystallinity for a collection (folder) containing many .txt files in iRODS. Ensure that the txt files and dat files have the same name in order to copy metadata onto the resulting image files. Enter the full path to the collection in iRODS:
irods-cryst --svg <path_to_collection>
Support
Contact Samuel Eyley.
Roadmap
No planned feature upgrades, reported bugs will be fixed.
Contributing
Contributions are welcome, contact Samuel Eyley
Authors and acknowledgment
Authored by Samuel Eyley
AI Assistance: Code refactoring and architecture improvements contributed by GitHub Copilot (October 2025)
License
MIT License
Metadata
Release files for SusMat-Crystallinity-Calculator 2.0.7
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 | |
|---|---|---|---|---|
| susmat_crystallinity_calculator-2.0.7.tar.gz | 13.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| susmat_crystallinity_calculator-2.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.3 kB
Release files / susmat_crystallinity_calculator-2.0.7.tar.gz
| Download URL | susmat_crystallinity_calculator-2.0.7.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
505aad8d7dbb759d2ba41aa6ab684395184dbd339a1130b6ee251a24b687e036
|
|
BLAKE2b-256 checksum How to use checksums |
12cdc0fa278f19a430ab71aed2980d95770bcdd103a219e2bb867d84da2d3034
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logRelease files / susmat_crystallinity_calculator-2.0.7-py3-none-any.whl
| Download URL | susmat_crystallinity_calculator-2.0.7-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0799f8bc14fbe76c29a6d4272002b87523021100b7bba406f1f4bcaaa19fa5d7
|
|
BLAKE2b-256 checksum How to use checksums |
f56f403cb0fd4e5b9fd8cd1931a023ff51a10489685fa53146ff20ef9c0a1d51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logSecurity for SusMat-Crystallinity-Calculator 2.0.7
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for susmat_crystallinity_calculator-2.0.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logA 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.