dsipts.Categorical¶
- class dsipts.Categorical(name: str, frequency: int, duration: List[int], classes: int, action: ActionEnum, level: List[float])¶
Class for generating toy categorical data
- Parameters:
name (str) – name of the categorical signal
frequency (int) – frequency of the signal
duration (List[int]) – duration of each class
classes (int) – number of classes
action (str) – one between additive or multiplicative
level (List[float]) – intensity of each class
- __init__(name: str, frequency: int, duration: List[int], classes: int, action: ActionEnum, level: List[float])¶
Class for generating toy categorical data
- Parameters:
name (str) – name of the categorical signal
frequency (int) – frequency of the signal
duration (List[int]) – duration of each class
classes (int) – number of classes
action (str) – one between additive or multiplicative
level (List[float]) – intensity of each class
Methods
__init__(name, frequency, duration, classes, ...)Class for generating toy categorical data
generate_signal(length)Generate the resposne signal
plot()Plot the series
validate()Validate, maybe there will be other checks in the future