Skip to main content

Local Field Components (or lighting fast calculator) at

Project description

muon sites for the muesr package.
Home-page: https://github.com/bonfus/muLFC
Author: Pietro Bonfa
Author-email: pietro.bonfa@fis.unipr.it
License: UNKNOWN
Description-Content-Type: UNKNOWN
Description: μLFC
====

μLFC is a small library to facilitate the evaluation of the local field
at the muon site. It is distributed as a standard library with C APIs
and a Python extension.


Install
-------

The μLFC C library has no dependencies. CMake is used as a building tool.
Any C90 compiler can be used to build the library.
The details for the Python package follows.

### Prerequisites

The python extension has the following dependencies:

* Python 2.7, 3.1+ (http://www.python.org)
* Numpy 1.8.0+ (http://www.numpy.org)


### Installation

The easiest way to install the Python extension is using pre-baked
wheels with pip:

pip install mulfc

**Important note:** when installing on *Windows* with `pip`, the minimal
dependencies for Numpy are:

* Python 2.7 ➜ Numpy 1.8+
* Python 3.5 ➜ Numpy 1.10+
* Python 3.6 ➜ Numpy 1.12+

For Python versions different from the ones listed above muLFC is not
available as Python Wheels, you'll have to compile and install it from source.

### Compilation

You may want to build the extension yourself, especially for optimizing performances.

To compile and install the C library just do

```bash
mkdir build
cd build
cmake ..
make
make install
```

To install the python extension you can do

```bash
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 [muesr](http://muesr.readthedocs.io) documentation or the documentation
in the header of the various functions' source code.

Platform: UNKNOWN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mulfc-0.0.2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (41.4 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 1, 2018
mulfc-0.0.2-cp27-cp27mu-manylinux1_i686.whl (29.7 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 1, 2018
mulfc-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl (29.4 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 1, 2018
mulfc-0.0.2-cp27-cp27m-win32.whl (25.1 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 1, 2018
mulfc-0.0.2-cp27-cp27m-win_amd64.whl (27.0 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 1, 2018
mulfc-0.0.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (41.5 kB) Copy SHA256 hash SHA256 Wheel cp34 Mar 1, 2018
mulfc-0.0.2-cp34-cp34m-manylinux1_i686.whl (29.7 kB) Copy SHA256 hash SHA256 Wheel cp34 Mar 1, 2018
mulfc-0.0.2-cp34-cp34m-manylinux1_x86_64.whl (29.4 kB) Copy SHA256 hash SHA256 Wheel cp34 Mar 1, 2018
mulfc-0.0.2-cp35-cp35m-manylinux1_i686.whl (29.8 kB) Copy SHA256 hash SHA256 Wheel cp35 Mar 1, 2018
mulfc-0.0.2-cp35-cp35m-manylinux1_x86_64.whl (29.5 kB) Copy SHA256 hash SHA256 Wheel cp35 Mar 1, 2018
mulfc-0.0.2-cp35-cp35m-win32.whl (25.9 kB) Copy SHA256 hash SHA256 Wheel cp35 Mar 1, 2018
mulfc-0.0.2-cp35-cp35m-win_amd64.whl (29.6 kB) Copy SHA256 hash SHA256 Wheel cp35 Mar 1, 2018
mulfc-0.0.2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (41.6 kB) Copy SHA256 hash SHA256 Wheel cp36 Mar 1, 2018
mulfc-0.0.2-cp36-cp36m-manylinux1_i686.whl (29.8 kB) Copy SHA256 hash SHA256 Wheel cp36 Mar 1, 2018
mulfc-0.0.2-cp36-cp36m-manylinux1_x86_64.whl (29.5 kB) Copy SHA256 hash SHA256 Wheel cp36 Mar 1, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page