MCPcopy Index your code
hub / github.com/PyTTaMaster/PyTTa / plot_param

Method plot_param

pytta/classes/analysis.py:1076–1097  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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`."""

Callers 10

plot_rmsMethod · 0.95
plot_SPLMethod · 0.95
plot_C80Method · 0.95
plot_D50Method · 0.95
plot_T20Method · 0.95
plot_T30Method · 0.95
plot_TsMethod · 0.95
plot_EDTMethod · 0.95
plot_STearlyMethod · 0.95
plot_STlateMethod · 0.95

Calls 1

plotMethod · 0.80

Tested by

no test coverage detected