DensityFit

DensityFit#

class DensityFit(becExp)#

Bases: BecAnalysis

DensityFit 1D profile fitting to extract cloud sizes and centers.

Fits integrated AD profiles along x/y using either Gaussian or Bose-enhanced Gaussian models to obtain radii \(R_{x,y}\), centers, and central column densities. Provides a GUI for profile inspection and a chart for radii vs scan.

Associated Charts:
  • Chart(1): “Cloud size” - Cloud radius plots vs parameter

Associated GUIs:
  • Gui(1): “DensityFitDisplay” - Interactive profile fitting interface

Constructor Summary
DensityFit(becExp)#

Construct DensityFit analyzer.

Parameters:

becExp (BecExp) – Owning experiment

Property Summary
BackGroundDensity#

Background density level from fits per run/subROI [m^{-2}]

CondensateCenter#

Condensate center positions [\(x_{0c}\); \(y_{0c}\)] per run/subROI [pixels]

CondensateCentralDensity#

Condensate central column density per run/subROI [m^{-2}]

CondensateSize#

Condensate radii [\(R_{x,c}\); \(R_{y,c}\)] per run/subROI [m]

DensityLimX double = [0,1]#

X-direction density plot limits [min, max] automatically updated during fitting

DensityLimY double = [0,1]#

Y-direction density plot limits [min, max] automatically updated during fitting

FitData#

Fit objects array with dimensions (x/y direction, run, subROI)

FitMethod string = "BosonicGaussianFit1D"#

1D profile fit model: "GaussianFit1D" or "BosonicGaussianFit1D"

ThermalCloudCenter#

Thermal cloud center positions [\(x_{0t}\); \(y_{0t}\)] per run/subROI [pixels]

ThermalCloudCentralDensity#

Thermal cloud central column density per run/subROI [m^{-2}]

ThermalCloudSize#

Thermal cloud radii [\(R_{x,t}\); \(R_{y,t}\)] per run/subROI [m]

Method Summary
initialize()#

Initialize fit objects, data containers, and plots.

Sets up 1D profile fit objects, creates data storage arrays, initializes GUI and chart components, and configures plot layouts.

refresh()#

Recompute fits for all runs and refresh figures.

updateData(runIdx)#

Build and execute 1D fits for given run indices.

Parameters:

runIdx (double|double[]) – Run index or indices

updateFigure(~)#

Update size vs scan charts.