src.visualise.phase_correction_graphs
Code for generating plots from the phase correction models
Functions
|
Generates all plots in this file, with required arguments and inputs |
Classes
|
Generates a graphic that explains how the model works. |
|
Creates a plot showing the average strength, direction, and balance of the coupling within each duo. |
|
Creates a plot showing the coupling coefficients per instrument and duo, designed to look similar to fig 2.(c) in Jacoby et al. (2021). |
|
Creates a plot showing the mean differences between coupling and strength for each pair of duos, with confidence intervals obtained via bootstrapping |
|
Creates grouped barplots showing comparisons of coupling strength and asymmetry between pairwise duo combinations |
|
Creates a barplot showing regression coefficients and confidence intervals for mixed effects models |
|
|
|
Creates barplots showing the difference in R2 between models. |
|
Creates a figure showing correction to partner coefficients obtained for each performer in a duo, stratified by a given variable (defaults to jitter scale). |
|
Creates a boxplot of average R2 values per rolling window size |
|
|
|
Creates histograms of model parameters stratified by trial and instrument, x-axis variable defaults to R-squared |
|
Creates a pairgrid plot for a given x and colour variable. |
|
Creates a plot showing the mean differences between coupling and strength for each pair of duos, with confidence intervals obtained via bootstrapping |
|
Creates a pointplot showing bootstrapped differences in coupling coefficients between members of each duo |
|
Deprecated(?) class for creating regression plots between multiple variables |
|
Creates a grid of scatter and regression plots, showing relationship between primary variables (tempo slope, ioi variability, asynchrony, self-reported success) and coupling balance. |
|
Creates a grid of scatter and regression plots, showing relationship between primary variables (tempo slope, ioi variability, asynchrony, self-reported success) and coupling balance. |
|
Creates an animation of actual and predicted tempo slope that should(!) be synchronised to the AV_Manip videos. |
|
Generate a nice plot of a single performance, showing actual and predicted tempo slope, relative phase adjustments, phase correction coefficients to partner and self for both performers |
- src.visualise.phase_correction_graphs.generate_phase_correction_plots(mds: list[src.analyse.phase_correction_models.PhaseCorrectionModel], output_dir: str) None
Generates all plots in this file, with required arguments and inputs