AtomNumber#
- class AtomNumber(becExp)#
Bases:
BecAnalysisAtomNumbercompute and plot atom number components vs scan.Integrates AD density over ROI/sub-ROIs to obtain raw counts and, when density fits are available, separates thermal/condensate contributions. Supports normalized sub-ROI fractions and 1D/2D visualizations.
- Associated Charts:
Chart(1): “Atom number” - Error bar plots of atom number vs parameter
- Constructor Summary
- AtomNumber(becExp)#
Construct
AtomNumberanalyzer.- Parameters:
becExp (
BecExp) – Owning experiment
- Property Summary
- Colormap = sky#
- Condensate#
Condensate component from bimodal fits per run/subROI [m^{-2}]
- FitDataCondensate#
Fit object results for condensate component trends
- FitDataRaw#
Fit object results for raw integrated atom number trends
- FitDataThermal#
Fit object results for thermal component trends
- FitMethod string = "None"#
Optional fit model name for atom number vs parameter trends
- IsShowCondensate logical = true#
Flag to show/hide condensate component series
- IsShowNormalized logical = true#
Flag to normalize sub-ROI fractions by total atom number
- IsShowRaw logical = true#
Flag to show/hide raw integrated atom number series
- IsShowThermal logical = true#
Flag to show/hide thermal component series
- IsShowTotal logical = true#
Flag to show/hide total atom number series
- Raw#
Integrated atomic column density per run/subROI [m^{-2}]
- Thermal#
Thermal cloud component from density fits per run/subROI [m^{-2}]
- Total#
Total atom number as sum of thermal and condensate components [m^{-2}]
- Unit = 10^6#
Display scale factor for atom number plots (millions of atoms)
- Method Summary
- static handlePropEvents(src, evnt)#
Handle graphics updates when display properties change.
- Parameters:
src (
meta.property) – Property metadataevnt (
event.EventData) – Event object carrying affected instance
- initialize()#
Initialize plots, listeners, and internal data containers.
Sets up 1D or 2D plotting layouts, creates data storage arrays, configures plot properties, and establishes property listeners.
- initializeImage(tabGroupObj, titleStr, nSub, xLabel, yLabel, idx, name, isError)#
- updateData(runIdx)#
Compute atom number components for a given run.
Integrates AD density over ROI or sub-ROIs and, if available, computes thermal contribution from
DensityFit.- Parameters:
runIdx (
double) – Run index to process
- updateFigure(~)#
Update figure for 1D or 2D scans based on current data.
- updateFigure1D(fig, nSub)#
Render 1D scan results with error bars.
- Parameters:
fig (
matlab.ui.Figure) – Figure handlenSub (
double) – Number of sub-ROIs
- updateFigure2D(fig, nSub)#
Render 2D density plots of selected components.
- Parameters:
fig (
matlab.ui.Figure) – Figure handlenSub (
double) – Number of sub-ROIs