sound_calibration_plot
- sound_calibration_plot(df: pandas.DataFrame, width: float, height: float, point: tuple[float, float] | None) matplotlib.figure.Figure[source]
Generates a plot for sound calibration data.
Plots the gain vs. measured dB for different speakers and sounds, including interpolated curves and an optional specific data point.
- Parameters:
df (pd.DataFrame) – DataFrame containing calibration data.
width (float) – Width of the figure in inches.
height (float) – Height of the figure in inches.
point (tuple[float, float] | None) – Optional (gain, dB) point to highlight.
- Returns:
The generated matplotlib figure.
- Return type:
Figure