ber-equalization-studio 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,58 @@
1
+ """Convenient research API for BER equalization experiments."""
2
+
3
+ from ber_equalization_studio.config import (
4
+ DataConfig,
5
+ EvaluationConfig,
6
+ ExperimentConfig,
7
+ ModelConfig,
8
+ OutputConfig,
9
+ StudioConfig,
10
+ TrainingConfig,
11
+ )
12
+
13
+ __all__ = [
14
+ "DataConfig",
15
+ "EvaluationConfig",
16
+ "ExperimentConfig",
17
+ "ExperimentRunner",
18
+ "ModelConfig",
19
+ "OutputConfig",
20
+ "RunResult",
21
+ "Studio",
22
+ "StudioConfig",
23
+ "StudyResult",
24
+ "TrainingConfig",
25
+ "available_models",
26
+ "build_model",
27
+ "compare_results",
28
+ "load_result_table",
29
+ "run",
30
+ "run_experiment",
31
+ "sweep",
32
+ ]
33
+
34
+
35
+ def __getattr__(name):
36
+ if name in {"ExperimentRunner", "run_experiment"}:
37
+ from ber_equalization_studio.experiment import ExperimentRunner, run_experiment
38
+
39
+ return {"ExperimentRunner": ExperimentRunner, "run_experiment": run_experiment}[name]
40
+ if name in {"available_models", "build_model"}:
41
+ from ber_equalization_studio.models import available_models, build_model
42
+
43
+ return {"available_models": available_models, "build_model": build_model}[name]
44
+ if name in {"compare_results", "load_result_table"}:
45
+ from ber_equalization_studio.results import compare_results, load_result_table
46
+
47
+ return {"compare_results": compare_results, "load_result_table": load_result_table}[name]
48
+ if name in {"RunResult", "Studio", "StudyResult", "run", "sweep"}:
49
+ from ber_equalization_studio.api import RunResult, Studio, StudyResult, run, sweep
50
+
51
+ return {
52
+ "RunResult": RunResult,
53
+ "Studio": Studio,
54
+ "StudyResult": StudyResult,
55
+ "run": run,
56
+ "sweep": sweep,
57
+ }[name]
58
+ raise AttributeError(name)
@@ -0,0 +1 @@
1
+ """Packaged legacy backend used by the public studio API."""