Base Solution
- class osaft.solutions.base_solution.BaseSolution(name)[source]
Bases:
ABCBase class for all solutions
- Parameters:
name (
str) – name of the solution
- __copy__()[source]
Overriding the default copy dunder
The reason for that is, that we need to create a new object by calling the __init__(self, …) method because otherwise the links to the various PassiveVariable and ActiveVariable would be wrong.
This is circumvent by creating a dictionary with all the possible PassiveVariable objects and then calling the __init__(…) method.
- Return type:
- check_wave_type()[source]
Checks if
wave_typeis insupported_wavetypes- Raises:
WrongWaveTypeError – If
wave_typeis not supported- Return type:
None
- __weakref__
list of weak references to the object (if defined)