A collection of python scripts for determining the crystallinity of cellulosic samples
Project description
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
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 susmat_crystallinity_calculator-2.0.5.tar.gz.
File metadata
- Download URL: susmat_crystallinity_calculator-2.0.5.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
648a0bffd6bf7419f75951819b8599ed1b8fa44289d959bed9f447f77a302bb4
|
|
| MD5 |
461b21dfd7a5cedff4967dfc5f1fda86
|
|
| BLAKE2b-256 |
272cb655cc2c7aca61187b76b47200923baea817e27037d61b7912569f67dc85
|
Provenance
The following attestation bundles were made for susmat_crystallinity_calculator-2.0.5.tar.gz:
Publisher:
release.yml on Sustainable-Materials-Lab/SusMat-Crystallinity-Calculator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
susmat_crystallinity_calculator-2.0.5.tar.gz -
Subject digest:
648a0bffd6bf7419f75951819b8599ed1b8fa44289d959bed9f447f77a302bb4 - Sigstore transparency entry: 1193967174
- Sigstore integration time:
-
Permalink:
Sustainable-Materials-Lab/SusMat-Crystallinity-Calculator@cfd04476434daf94bef99a491b47cbc89700c8f2 -
Branch / Tag:
refs/tags/v2.0.5 - Owner: https://github.com/Sustainable-Materials-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cfd04476434daf94bef99a491b47cbc89700c8f2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file susmat_crystallinity_calculator-2.0.5-py3-none-any.whl.
File metadata
- Download URL: susmat_crystallinity_calculator-2.0.5-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbec79c4ebfd3bf8c2d42c34860982c6285880fbf4cd398eb54185541d11d040
|
|
| MD5 |
46244f81ee6a922014622184e2824e60
|
|
| BLAKE2b-256 |
7fd4a6cd5b0ec0d45ddc51a8bccc5301a5080c7ff36857e3a178b0d6a0d64307
|
Provenance
The following attestation bundles were made for susmat_crystallinity_calculator-2.0.5-py3-none-any.whl:
Publisher:
release.yml on Sustainable-Materials-Lab/SusMat-Crystallinity-Calculator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
susmat_crystallinity_calculator-2.0.5-py3-none-any.whl -
Subject digest:
dbec79c4ebfd3bf8c2d42c34860982c6285880fbf4cd398eb54185541d11d040 - Sigstore transparency entry: 1193967202
- Sigstore integration time:
-
Permalink:
Sustainable-Materials-Lab/SusMat-Crystallinity-Calculator@cfd04476434daf94bef99a491b47cbc89700c8f2 -
Branch / Tag:
refs/tags/v2.0.5 - Owner: https://github.com/Sustainable-Materials-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@cfd04476434daf94bef99a491b47cbc89700c8f2 -
Trigger Event:
push
-
Statement type: