BGlib.misc.sho_visualizer_core.SHOVisualizerCore

class BGlib.misc.sho_visualizer_core.SHOVisualizerCore(fit_data, freq_vec, dc_vec)[source]

Bases: object

Backend for BEPS visualizer logic. Pure computation and data slicing; no UI code.

Methods

get_map_slice

Returns a 2D slice of the data at the current DC index, field, and cycle.

get_spectrum_at_point

Returns the spectrum at the selected (X, Y) point for all DC indices.

set_cycle

set_dc_index

set_field

set_fit_param

set_point

get_map_slice()[source]

Returns a 2D slice of the data at the current DC index, field, and cycle.

get_spectrum_at_point(row=0, col=0)[source]

Returns the spectrum at the selected (X, Y) point for all DC indices.