mahos.msgs.grid_sweeper_msgs.GridSweeperData#
- class mahos.msgs.grid_sweeper_msgs.GridSweeperData(params: dict | None = None)#
Data class for 2D planar sweep (x, y) with repeated sweeps.
- __init__(params: dict | None = None)#
Methods
__init__([params])get_image([sweep_index])Get one 2D image by sweep index.
get_latest_image()Get latest in-progress (or most recent) 2D image.
get_mean_image([last_n, include_incomplete])Get averaged 2D image over all or last N sweeps, ignoring NaN.
get_xdata()Get X-axis data for 2D plot.
get_ydata()Get Y-axis data for 2D plot.
has_data()Return True if data is ready and valid data could be read out.
has_incomplete()Check if the latest image is incomplete (includes NaN).
image_num()Get number of available 2D sweep images.
init_axes()Initialize X and Y axes label, unit, and scale.
sweeps()Get number of completed 2D sweeps.