Skip to content

polychron.views.SelectCalibrationCurveView Module

SelectCalibrationCurveView

Bases: PopupView

View for selecting a calibration curve

Displays a list of available calibration curves for the user to choose from.

set_curve_options

set_curve_options(curve_names: list[str]) -> None

Set the dropdown values for available calibration curves

bind_ok_button

bind_ok_button(callback: Callable[[], Any | None]) -> None

Bind a function to the OK button

bind_cancel_button

bind_cancel_button(callback: Callable[[], Any | None]) -> None

Bind a function to the Cancel button

get_selection

get_selection() -> str

Return the selected calibration curve name