ebilab.experiment package

class ebilab.experiment.ExperimentContext(delegate: ExperimentContextDelegate)[ソース]

ベースクラス: object

log(log: str)[ソース]
loop() None[ソース]
property options: dict
send_row(row: dict)[ソース]
sleep(sleep_time: float) None[ソース]

Cancelable sleep You should use ctx.sleep instead of time.sleep

パラメータ:

sleep_time (float) -- Time to sleep

property t: float
class ebilab.experiment.ExperimentController(*, experiments: List[Type[ExperimentProtocol]], ui: IExperimentUI)[ソース]

ベースクラス: ExperimentContextDelegate, ExperimentUIDelegate

experiment_ctx_delegate_get_options() dict[ソース]
experiment_ctx_delegate_get_t() float[ソース]
experiment_ctx_delegate_loop() None[ソース]
experiment_ctx_delegate_send_log(message)[ソース]
experiment_ctx_delegate_send_row(row)[ソース]
handle_ui_start(experiment: Type[ExperimentProtocol])[ソース]
handle_ui_stop()[ソース]
launch()[ソース]
class ebilab.experiment.ExperimentPlotter[ソース]

ベースクラス: object

fig: Figure
name: str
options: Dict[str, OptionField] | None = None
abstract prepare(ctx: PlotterContext)[ソース]
abstract update(df, ctx: PlotterContext)[ソース]
class ebilab.experiment.ExperimentProtocol[ソース]

ベースクラス: object

columns: List[str]
name: str
options: Dict[str, OptionField] | None = None
plotter_classes: List[Type[ExperimentPlotter]] = None
classmethod register_plotter(plotter)[ソース]
abstract steps(ctx: ExperimentContext) None[ソース]
class ebilab.experiment.ExperimentProtocolGroup(name: str, protocols: List[Type[ebilab.experiment._experiment_controller.ExperimentProtocol]])[ソース]

ベースクラス: object

name: str
protocols: List[Type[ExperimentProtocol]]
class ebilab.experiment.PlotterContext(plotter_options: dict, protocol_options: dict)[ソース]

ベースクラス: object

plotter_options: dict
protocol_options: dict
ebilab.experiment.launch_experiment(experiments: List[Type[ExperimentProtocol]])[ソース]