morpho.processors.plots.TimeSeries module

Some template vars

Members: TimeSeries

Functions:

Classes:

Plot a time series of the variables of interest Authors: M. Guigue Date: 06/26/18

Summary

Data:

Reference

class morpho.processors.plots.TimeSeries.TimeSeries(name, *args, **kwargs)[source]

Bases: morpho.processors.BaseProcessor.BaseProcessor

Time series plot generator. Display the value for each parameter (variables) as a time series. The red points are warmup part of the chain.

Parameters:
  • variables (required) – name(s) of the variable in the data
  • width – window width (default=600)
  • height – window height (default=400)
  • title – canvas title
  • x_title – title of the x axis
  • y_title – title of the y axis
  • options – other options (logy, logx)
  • output_path – where to save the plot
  • output_pformat – plot format (default=pdf)
Input:
data: dictionary containing model input data
Results:
None
data
InternalConfigure(param_dict)[source]

Method called by Configure() to set up the object. Must be overridden by child class.

InternalRun()[source]

Method called by Run() to run the object. Must be overridden by child class.