Skip to main content

BNMR/BNQR Data Fitting and Visualization

Project description


Beta-NMR GUI for reading, drawing, fitting data.

Run Instructions

Call python3 -m bfit from the containing directory (the one above bfit/).

Setup after Install

Install is done simply by pip install bfit. Afterwards, 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:


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

A Tour of the GUI

Menu bar:

  • File
    • Calculators for B0 in BNQR and B1 in BNMR
    • Export fetche data to csv file
  • Settings
    • Set matplotlib defaults: drawing styles
    • Set data directory. Defaults to environment variables BNMR_ARCHIVE and BNQR_ARCHIVE
  • Redraw Mode
    • Set drawing mode. See help for details on hotkeys.
  • Help
    • Show help wiki.


  • File Details
    • File inspector. Use this to quickly view the contents and parameters of a given run. Use return to fetch and ctrl+return to quickly draw.
  • Fetch Data
    • Fetch many data files for quick superposition and to set up fitting routines. Data fetched here will be fitted on the next tab. See help for hotkey details.
  • Fit Data
    • Fit the fetched data, and set fitting parameters.
  • View Fit Results
    • View the fit parameters and draw as functions of each other.

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
bfit-1.0.0.tar.gz (631.9 kB) Copy SHA256 hash SHA256 Source None

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