Skip to main content

BNMR/BNQR Data Fitting and Visualization

Project description

bfit

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

Run Instructions

To run, call python3 -m 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:

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

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
    • Calculator for B0 in BNQR
    • Calculator for B1 in BNMR
    • Export fetched data asymmetries to csv file
  • Settings
    • Set data directory. Defaults to environment variables BNMR_ARCHIVE and BNQR_ARCHIVE
    • Set matplotlib drawing defaults
    • Set other drawing defaults: markers, lines, etc.
    • Dynamically load user-written fitting routines.
    • Set auto update redraw period.
    • Set names of histograms used in asymmetry calculations.
  • Redraw Mode
    • Set drawing mode.
  • Help
    • Show help wiki.

Tabs:

  • 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.
  • Fit Data
    • Fit the fetched data, and set fitting parameters.
    • View the fit parameters and draw as functions of each other.

Project details


Release history Release notifications | RSS feed

This version

1.4.1

Download files

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

Source Distribution

bfit-1.4.1.tar.gz (638.7 kB view details)

Uploaded Source

File details

Details for the file bfit-1.4.1.tar.gz.

File metadata

  • Download URL: bfit-1.4.1.tar.gz
  • Upload date:
  • Size: 638.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for bfit-1.4.1.tar.gz
Algorithm Hash digest
SHA256 c1da67dfc115b085e9ef2ffeb5ac43ddfda3d8e67585999c7758b461237ada3f
MD5 0a128a3213a78d90c772e04f1344db51
BLAKE2b-256 751cc073ef9a4d3f3bd4cc8c69d239a10e08a99afb74d97826ed9f5bea1d3ba1

See more details on using hashes here.

Supported by

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