convert CIF data to inputs for XAS calculations Feff, FDMNES, etc
Project description
Larixite
Crystal structures and clusters of atoms for X-ray absorption spectroscopy.
The main purpose of larixite is to provide a Python package for using crystallographic data or calculated clusters of atoms to generate inputs for X-ray absorption spectroscopy and other scientific disciplines that use non-crystalline clusters of atoms.
This project includes:
- an sqlite3 database of structures from the American Mineralogical Crystal Structure Database (AMCSD)
- Python code to convert structures from the AMCSD database, other CIF files, or XYZ coordinates into atomic clusters for XAS calculations with FEFF, FDMNES, and other XAS calculation tools.
- A basic web application to guide those conversions. See Larixite Web App.
install
Either install from PyPI with
> pip install larixite
Download and unpack this code and install with
> pip install .
Status
Larixite has been in rapid development, but is also a spin-off from code that has been in Xraylarch for many years. That is, while many parts of the code are moving rapidly, much of the code is reasonably stable.
Web App
The Larixite Web App can be run locally for debugging or for local deployment. To do this, install the extra wed dependencies (essentially only Flask is needed) with
> pip install ".[web]"
and run the script "run_local.py" with
> python run_local.py
will launch a local web server with the app running at http://127.0.0.1:11564/
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
File details
Details for the file larixite-2024.10.0.tar.gz
.
File metadata
- Download URL: larixite-2024.10.0.tar.gz
- Upload date:
- Size: 3.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baf728ae1d388af720e9cef109027ad8895cf61c5e65d1cf9e59caa1a98c46d5 |
|
MD5 | 78bc2a64f7cfce4a4334661d9db31212 |
|
BLAKE2b-256 | f22145e8a43124af2b20664392d92aa22f0a10021bbf99df6c00342a2ffb97a9 |
File details
Details for the file larixite-2024.10.0-py3-none-any.whl
.
File metadata
- Download URL: larixite-2024.10.0-py3-none-any.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c651e88a05c16a9fef5500e03ea01d5212509b83a0025ea211dec61d26ca29 |
|
MD5 | 81a2301c0b945825ea9d7ab735d24bf4 |
|
BLAKE2b-256 | fa3aae3ecede003b5d22577dc5f0aca412921a03ffed060fec15035d805df54b |