B-NMR/B-NQR Data Fitting and Visualization
Project description
bfit
Beta-NMR GUI for reading, drawing, fitting data.
Run Instructions
To run the gui, call bfit
bfit also provides the following classes and functions at the top level:
-
Functions
bfit.pulsed_expbfit.pulsed_strexpbfit.pulsed_biexpbfit.lorentzianbfit.bilorentzianbfit.quadlorentzianbfit.gaussian
-
Minimization
bfit.minuitbfit.global_fitterbfit.global_bdata_fitterbfit.fit_bdata
A description of these functions can be found here.
Setup
Dependencies needed pre-install
- Cython:
pip3 install Cython - numpy:
pip3 install 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 seteup
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bfit-4.6.2.tar.gz.
File metadata
- Download URL: bfit-4.6.2.tar.gz
- Upload date:
- Size: 778.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.51.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e386e3b5f0a9deefd160df2b06ef57b6548167f1a9a9747634a3587620d994d5
|
|
| MD5 |
be1958d3c80fa3a424b6dce32dbace6d
|
|
| BLAKE2b-256 |
c10e1bdd4967a04da2b8fec9d6a122ed64c6c3a941848c56c300ebcdba040cf7
|