Skip to content
Advertisement

Tag: base-class

How to pass variable to base class

Consider the following Python code (Python 3): I have a class Signal comprising all the functions signals of all different kinds should be able to perform. For each kind of signal, I create a new class, where the data is “sampled”, meaning an array with signal data is specified. If I now want to plot the signal, the plot method

Advertisement