LFC is a minimal library to facilitate the evaluation of the local field at the muon site. The original code comes from the muesr repository.
This section provides an overview and guidance for installing LFC on various target platforms.
The LFC C library have no dependencies. However, cmake is needed to compile the code.
The python extension has the following dependencies:
- Python 2.7, 3.1+ (http://www.python.org)
- Numpy 1.6.0+ (http://www.numpy.org)
(Windows is likely to be supported with minor changes to the code.)
To compile and install the C library just do
mkdir build
cd build
cmake ..
make
make installTo install the python extension you can do
cd python
python setup.py build
python setup.py test
python setup.py installThe library and the python extension are independent from each other.
See documentation of the various functions.