sequgen.deterministic.normal_peak module

sequgen.deterministic.normal_peak.normal_peak(t_predict, location, stddev=1.0, unit_integral=None, height=None)

Generates a peak whose shape is the gaussian distribution function :param t_predict: Numpy array with points in time where you want the model to generate predictions. :param location: Where you want to place the peak of the curve. :type location: float :param stddev: Shape factor that affects the width of the distribution. :type stddev: float :param height: What the peak height should be. :type height: float :param unit_integral: If true, area under the curve sums to unity :type unit_integral: bool

Returns

Numpy array with shape equal to t_predict, containing the y values for the normal peak curve.