Skip to content

mxcube/pychooch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyChooch

Python binding to calculate anomalous scattering factors from X-ray fluorescence spectra.

This repository adds a Python C extension to chooch.

To compile in a conda environment:

conda create -n chooch c-compiler make cmake plplot gsl python=3.11
conda activate chooch

# To compile and install the Python binding
python -m pip install .
# To test
python test_pychooch.py CHOOCH_TEST.raw

# To build the chooch binary
cmake -S . -B build
cmake --build build
# To test
./build/chooch -e Se -a K CHOOCH_TEST.raw

About

No description, website, or topics provided.

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE
Unknown
license.c

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages