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-2024.10.0.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for larixite-2024.10.0.tar.gz
Algorithm Hash digest
SHA256 baf728ae1d388af720e9cef109027ad8895cf61c5e65d1cf9e59caa1a98c46d5
MD5 78bc2a64f7cfce4a4334661d9db31212
BLAKE2b-256 f22145e8a43124af2b20664392d92aa22f0a10021bbf99df6c00342a2ffb97a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for larixite-2024.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2c651e88a05c16a9fef5500e03ea01d5212509b83a0025ea211dec61d26ca29
MD5 81a2301c0b945825ea9d7ab735d24bf4
BLAKE2b-256 fa3aae3ecede003b5d22577dc5f0aca412921a03ffed060fec15035d805df54b

See more details on using hashes here.

Supported by

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