Plot a chart with the parameter passed in as `name`. Parameters ---------- name : str Room parameter name, e.g. `'T20' | 'C80' | 'SPL'`, etc. kwargs: Dict All kwargs accepted by `Analysis.plot_bar`. Returns -------
(self, name: str, **kwargs)
| 1074 | # return self._params['TR'] |
| 1075 | |
| 1076 | def plot_param(self, name: str, **kwargs): |
| 1077 | """ |
| 1078 | Plot a chart with the parameter passed in as `name`. |
| 1079 | |
| 1080 | |
| 1081 | Parameters |
| 1082 | ---------- |
| 1083 | name : str |
| 1084 | Room parameter name, e.g. `'T20' | 'C80' | 'SPL'`, etc. |
| 1085 | kwargs: Dict |
| 1086 | All kwargs accepted by `Analysis.plot_bar`. |
| 1087 | |
| 1088 | Returns |
| 1089 | ------- |
| 1090 | f : matplotlib.Figure |
| 1091 | The figure of the plot chart. |
| 1092 | |
| 1093 | """ |
| 1094 | self._data = self._params[name] |
| 1095 | f = self.plot(**kwargs) |
| 1096 | self._data = np.zeros(self.bands.shape) |
| 1097 | return f |
| 1098 | |
| 1099 | def plot_rms(self, label='RMS', **kwargs): |
| 1100 | """Plot a chart for the impulse response's `rms` by frequency `bands`.""" |