Refactor sim_data
Feature Summary
Certain features of the sim_data framework `.sim.*> functions can be improved, this includes.
The following changes are proposed
The .get_sim_params()
& .set_sim_params()
interface in combination with .get_sim_type()
& .set_sim_type()
is not very intuitiv.
- Improve docstring on existing methods
- Introduce check on settable parameters via pydantic data classes-> only available parameters should be changeable, otherwise raise.
- Add
SimWaveform
for simulating 1D data - Throw out ref motor for
Constant
- Add
.reset()
to default parameters - Add
__repr__
that compiles different docstrings, somehow like a read the docs for the simulation. - Add
.show_all()
--> look atbec.show_all_commands()
--> to be explored what exactly should be printed