🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

larixite

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

larixite

convert CIF data to inputs for XAS calculations Feff, FDMNES, etc

2025.5.0
Maintainers
1

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/

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts