Example #1
0
    def init_parameters(self):
        """Initialize the input data

        Initialize the input data stream as an instance of the
        :py:mod:`SineGenerator` class
        """
        self._sine_stream = SineGenerator()
Example #2
0
 def init_parameters(self, amplitude=1.0, frequency=0.5):
     """Initialize the input data
     Initialize the input data stream as an instance of the
     :py:mod:`SineGenerator` class
     """
     self.frequency = frequency
     self.amplitude = amplitude
     self._sine_stream = SineGenerator()
Example #3
0
    def init_parameters(self, nested_output=False, scaler=1.0):
        """Initialize the input data

        Initialize the input data stream as an instance of the
        :py:mod:`SineGenerator` class
        """
        self._sine_stream = SineGenerator()
        self.nested_output = nested_output
        self.scaler = scaler
Example #4
0
 def init_parameters(self):
     self.stream = SineGenerator()
 def init_parameters(self):
     self.sine_stream = SineGenerator()
     self.cos_stream = CosineGenerator()