A program for calculating the mass of XAFS samples. For synchrotron users.
Project description
XAFSmass
XAFSmass is a python program for calculating the mass of XAFS (X-ray Absorption Fine Structure) samples. The chemical formula parser understands parentheses and weight percentage, also in nested form. XAFSmass reports the quantity (weight, thickness or pressure) together with the expected height of the absorption edge. The GUI is provided by Qt.
Copyright (c) 2015 Konstantin Klementiev and Roman Chernikov under the MIT License terms
Dependencies
numpy, matplotlib and pyparsing are required. Qt must be provided by either PyQt5, PySide2, PyQt6 or PySide6 by means of qtpy.
Running without installation
Unzip the .zip file from GitHub into a suitable directory and run python XAFSmassQt.py.
One advantage of no installation is a single location of XAFSmass served by any Python installation.
Running with installation
From the unzipped directory that has pyproject.toml run python -m pip install .
or run pip install xafsmass to get it directly from PyPI.
After installation, XAFSmass can be started by xafsmass command.
Documentation
See it on http://xafsmass.readthedocs.io
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
File details
Details for the file xafsmass-1.8.0.tar.gz.
File metadata
- Download URL: xafsmass-1.8.0.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0af2c62d39405d384bd7cbb42b1f568326baf9d3272715aec70704f0e1a71e33
|
|
| MD5 |
018043af0b68581e0e3cdcb4bdc706c7
|
|
| BLAKE2b-256 |
1c5dd6e8c7779a4141a794e1dc0c9942f068e8d2189f406cdadd4969197460fe
|