bsfit.nodes.viz.prediction.plot_mean

bsfit.nodes.viz.prediction.plot_mean(data_mean: numpy.ndarray, data_std: numpy.ndarray, prediction_mean: numpy.ndarray, prediction_std: numpy.ndarray, condition: numpy.ndarray, prior_mode: float, centering: bool)[source]

plot data and prediction mean and std for three conditions (x-axis, colors and panels)

Parameters
  • data_mean (np.ndarray) – data mean by condition

  • data_std (np.ndarray) – data std by condition

  • prediction_mean (np.ndarray) – prediction mean by condition

  • prediction_std (np.ndarray) – prediction std by condition

  • condition (np.ndarray) – associated conditions

  • prior_mode (float) – the mode of the prior

  • centering (bool) – center x-axis or not

Returns

_description_

Return type

_type_