Bfit

Latest version: v4.21.4

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 10

4.3.0

Updates

* Moved bfit call to main thread
* Added fix for macOS users for forking
* Fixed fitting merged runs
* Fixed result legend fontsize
* Fixed export fit/data issues
* Fixed pretty label update issue
* Updated bdata version to account for bad freq calc on single counters
* Added version printout to logs
* Added spaces after commas (style fix)
* Added additional logging statements
* Updated pip need version printout
* Changed images dir to data
* Added nmr data on signal attenuation
* Added calculator for signal attenuation
* Fixed setting icons command in a few windows
* Fit files no longer prints keyerror on export parameters

4.2.0

Updates

* Fixed lorentz width back to proper value
* FIixed width points on GUI parameter estimator
* Changed how minos errors get executed in global_fitter and fit_bdata
* Fixed global fitter issue with dof < 1
* Fixed typos
* Fixed crash on minor error
* Improved bilorentzian initial value guesses
* fixed unicode error in minuit output
* added check for version, runs in separate process
* Added draw asym from +/- helicity of a single counter

4.1.0

Updates

* Fixed draw norm with asymmetric errors
* Checkboxes in fetch no longer allow residuals and data/fit at the same time
* Fixing a shared parameter now fixes for all runs
* Fixed fit model parameter output
* Improvements to global fitter bounds assignment
* Added minuit object for easy migrad fitting of data. Object is accessible at top-level

4.0.0

Non-Backwards Compatible Changes
* Input changes to global_fitter, fit_bdata, and global_bdata_fitter
* Lorentzian function, BiLorentzian function now report actual FWHM. Prior value was 2x too low. [This is wrong. It was right the first time. Updated in v4.1.1]

New Features
* Added menu option to force normalized draw without fit parameter
* Added results button to fit tab to show the breakdown of multi-component fits
* Allows direct import of some fitting backend functions, such as `from bfit import global_fitter`
* Added migrad minimizer from iminuit for independent, global, constrained, and model fits.
* Added least squares class for migrad minimization, which accounts for x and asymmetric errors.
* Added asymmetric error reporting for fit tab, export, compare table, parameter drawing, model fitting
* Added menu option to switch minimizers: curve_fit (trf), midgrad with hesse errors, migrad with minos errors
* Draw parameters now have pretty latex-ed labels
* Added button and popup for user-defined parameters which can be used in both drawing and model fitting

Updates
* Updated spins for all bnmr probes
* Updated bdata version
* Updated Readme
* Updated Help document
* Updated save/load state
* Removed 'Get P0' button
Fixes
* Fixed draw parameter initial label to be blank
* Fixed drawing too many objects in legend
* `fit_bdata`: Added flush for print statement on shared parameter fits
* Fixed the resetting fixed checkbox issue on tab change
* `fetch_files`: degrid now unselects fit drawing. Fixes a small bug
* Fixed missing logged T issue
* Fixed draw parameter sort order - important when drawing with connecting lines
* Fixed 2e axis units
* When fitting a model, the mouseover annotation remains in place.
* Fitting a model allows drawing of multiple lines, distinguished by their functional form
* Fixed remove legend on draw_all for other figstyles

3.6.0

Updates

* Added function placer for bilorentz
* Fixed bug with initial values in 1f mode
* Attempted fix to missing NBM histograms issue (untested)
* Fixed rounding issue with impl energy labels
* Fixed QuadLorentz placement bug
* Fixed draw in log graph, especially with regards to the update button
* Fixed redraw mode creating new windows
* Added done print statement for shared parameter fitting
* Added normalized asymmetry draw mode for 20 and 2h
* Added menu option for selecting thermometer channels
* Fixed normalized and shifted draw modes to use fit values if available
* Updated y labels for most special draw modes (i.e. everything other than "Asymmetry")
* Updated help page with new draw modes.

3.5.0

Updates

* Added quadrupolar split lorentzian fit with graphical initial parameter setting

Page 5 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.