def BasicProcessor():
    settings = KickedWindkesselModel.KickedWindkesselModelSettings()
    settings.heartActionForce = RectangularHeartActionForce()
    model = KickedWindkesselModel(settings)
    model.param.Npoints = 1000
    series = SeriesNotifier(model.param.dimension, model.param.Npoints + 1)
    model.Notify = series.Notify
    model.IterateToNotifiers()
    fname = "overview.png"
    series.PlotSeries((1, 2, 3, 4), fname)
    print("Plat data in %s" % fname)
 def test_UnperturbedRate(self):
     settings = KickedWindkesselModel.KickedWindkesselModelSettings()
     settings.heartActionForce = RectangularHeartActionForce()
     model = KickedWindkesselModel(settings)
     model.param.Npoints = 1000
     series = SeriesNotifier(model.param.dimension, model.param.Npoints + 1)
     model.Notify = series.Notify
     model.IterateToNotifiers()
     fname = sys._getframe().f_code.co_name + ".png"
     series.PlotSeries((1, 2, 3, 4), fname)
     print("Plot data in %s" % fname)