Skip to main content

B-NMR/B-NQR Data Fitting and Visualization

Project description

bfit

A Python application for the analysis of β-NMR and β-NQR data taken at TRIUMF.

Run Instructions

To run the graphical user interface, call bfit in a terminal.

bfit also provides the following classes and functions at the top level:

Functions

Curve Fitting

A full description of the API is here.

Setup

Dependencies needed pre-install

  • Cython: pip3 install --user Cython
  • numpy: pip3 install --user numpy
  • Tkinter for python3: sudo apt-get install python3-tk (for example),
  • python version 3.6 or higher

Install instructions

pip3 install --user bfit

Optional setup

You may want to tell bfit where the data is stored. This is done by defining environment variables BNMR_ARCHIVE and BNQR_ARCHIVE (for convenience add this to your .bashrc script). The expected file format is as follows:

/path/
    bnmr/
    bnqr/
        2017/
        2018/
            045123.msr

In this example, you would set BNQR_ARCHIVE=/path/bnqr/ to the directory containing the year directories.

If bfit cannot find the data, it will attempt to download the files from musr.ca according to the defaults set in the bdata package.

Project details


Release history Release notifications | RSS feed

This version

4.6.4

Download files

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

Source Distribution

bfit-4.6.4.tar.gz (255.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page