src.visualise.simulations_graphs

Code for generating plots from the simulation objects

Functions

generate_plots_for_individual_performance_simulations(...)

Deprecated(?)

generate_plots_for_simulations_with_coupling_parameters(...)

Generates all plots in this file, with required arguments and inputs

Classes

ArrowPlotParams(**kwargs)

Creates a plot showing the strength, direction, and balance of the coupling for each simulation parameter.

BarPlotSimulationParameters(df, **kwargs)

Creates a plot showing the simulation results per parameter, designed to look similar to fig 2.(d) in Jacoby et al. (2021).

DistPlotAll(df, **kwargs)

Plots mean tempo slope and asynchrony of simulations with letters showing the coupling parameters used

DistPlotAverage(df, **kwargs)

Plots mean tempo slope and asynchrony of simulations with letters showing the coupling parameters used

DistPlotParams(df, **kwargs)

Creates seperate kernel density plots for each duo showing distribution of asynchrony and tempo slope values for each parameter.

LinePlotAllParameters(simulations, **kwargs)

For a single performance, creates two line plots showing tempo and asynchrony change for all simulated parameters (anarchy, democracy etc.)

RegPlotSlopeAsynchrony(df, **kwargs)

Creates a regression jointplot, designed to show similarity in tempo slope and asynchrony between simulated and original performances.

RegPlotSlopeComparisons(df, **kwargs)

Creates a regression jointplot, designed to show similarity in tempo slope between actual and simulated performances (with original coupling patterns).

src.visualise.simulations_graphs.generate_plots_for_individual_performance_simulations(sims: list[src.analyse.simulations.Simulation], output_dir: str) None

Deprecated(?)

src.visualise.simulations_graphs.generate_plots_for_simulations_with_coupling_parameters(sims_params: list[src.analyse.simulations.Simulation], output_dir: str) None

Generates all plots in this file, with required arguments and inputs