ebilab.experiment package

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

ベースクラス: object

log(log: str) None[ソース]
loop() None[ソース]
property options: dict[str, Any]
send_row(row: dict[str, Any]) None[ソース]
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.ExperimentPlotter[ソース]

ベースクラス: object

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

ベースクラス: object

columns: list[str]
classmethod get_description() str[ソース]
classmethod get_summary() str[ソース]
name: str
options: dict[str, OptionField] | None = None
plotter_classes: list[type[ExperimentPlotter]] | None = None
classmethod register_plotter(plotter: type[ExperimentPlotter]) None[ソース]
source_info: ExperimentProtocolSourceInfo | None = None
abstract steps(ctx: ExperimentContext) None[ソース]
class ebilab.experiment.ExperimentProtocolGroup(name: 'str', protocols: 'list[type[ExperimentProtocol]]')[ソース]

ベースクラス: object

name: str
protocols: list[type[ExperimentProtocol]]
class ebilab.experiment.PlotterContext(plotter_options: 'dict[str, OptionField]', protocol_options: 'dict[str, OptionField]')[ソース]

ベースクラス: object

plotter_options: dict[str, OptionField]
protocol_options: dict[str, OptionField]
ebilab.experiment.launch_experiment(experiments: list[type[ExperimentProtocol]]) None[ソース]