Skip to main content

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.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SusMat-Crystallinity-Calculator 2.0.6
File Size Uploaded Provenance
susmat_crystallinity_calculator-2.0.6.tar.gz 13.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for SusMat-Crystallinity-Calculator 2.0.6
File Interpreter ABI Platform
susmat_crystallinity_calculator-2.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / susmat_crystallinity_calculator-2.0.6.tar.gz

Download URL susmat_crystallinity_calculator-2.0.6.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1fac1a55d71cb1fb2f56cd929efbefbd56c1c5dbd948de162121a1eec131c187
BLAKE2b-256 checksum
How to use checksums
cd49686b5b27bd19cd76daa5af1db5ab70cec3cdf5a71f622980f34942385c71
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 22, 2026.

Transparency log

Release files / susmat_crystallinity_calculator-2.0.6-py3-none-any.whl

Download URL susmat_crystallinity_calculator-2.0.6-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bb0098b3fb34497b2dd0b7f11ea6ea7c35e7c232ea373b66e588c3bb60d9638
BLAKE2b-256 checksum
How to use checksums
a35c3a029d09b9f645f54c391e142e669ba2dd6a9855c7ba24290d53c232376e
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 22, 2026.

Transparency log

Security for SusMat-Crystallinity-Calculator 2.0.6

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.

Select from 2 files

Attestation for susmat_crystallinity_calculator-2.0.6.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 22, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page