Skip to main content

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:

  1. an sqlite3 database of structures from the American Mineralogical Crystal Structure Database (AMCSD)
  2. 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.
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

larixite-2026.1.0.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

larixite-2026.1.0-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file larixite-2026.1.0.tar.gz.

File metadata

  • Download URL: larixite-2026.1.0.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for larixite-2026.1.0.tar.gz
Algorithm Hash digest
SHA256 ba1dd68b76f181f5a0a547fda9eb4dc06fe61e40c4bbf25f513ff30ede0b68e8
MD5 3f0282a27f16ead076c99f71b9b8128c
BLAKE2b-256 7359aa62fe68a4c3f0ededf527c812205d4d661ce9f3a436fd34d3e9021470bf

See more details on using hashes here.

File details

Details for the file larixite-2026.1.0-py3-none-any.whl.

File metadata

  • Download URL: larixite-2026.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for larixite-2026.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ec900ea26e28787a022b495a7c5942fbb0f0d7b7d59c0b810da8735803aaf55
MD5 aef927e4e1ea8290f436ccebc67fe3df
BLAKE2b-256 1cb36b2f93676c9f1f57e0ee767f11b69c530fabaee1a43ce7990a972dbea400

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page