Skip to content

ionuorah/muLFC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Field Components

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.

Installing LFC

This section provides an overview and guidance for installing LFC on various target platforms.

Prerequisites

The LFC C library have no dependencies. However, cmake is needed to compile the code.

The python extension has the following dependencies:

(Windows is likely to be supported with minor changes to the code.)

Installation

To compile and install the C library just do

mkdir build
cd build
cmake ..
make
make install

To install the python extension you can do

cd python
python setup.py build
python setup.py test
python setup.py install

The library and the python extension are independent from each other.

Usage

See documentation of the various functions.

About

A tiny library to calculate the local field at the muon site. Python extension included.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 68.6%
  • Python 30.5%
  • CMake 0.9%