This class is a container of SignalObj, intended to calculate impulsive responses and store them. The access to this class is provided by itself and as an output of the FRFMeasure.run() method. Creation parameters: --------------------- * excitation (SignalObj) (o
| 1169 | |
| 1170 | |
| 1171 | class ImpulsiveResponse(_base.PyTTaObj): |
| 1172 | """ |
| 1173 | This class is a container of SignalObj, intended to calculate impulsive |
| 1174 | responses and store them. |
| 1175 | |
| 1176 | The access to this class is provided by itself and as an output |
| 1177 | of the FRFMeasure.run() method. |
| 1178 | |
| 1179 | Creation parameters: |
| 1180 | --------------------- |
| 1181 | |
| 1182 | * excitation (SignalObj) (optional):: |
| 1183 | The signal-like object used as excitation signal on the |
| 1184 | measurement-like object. Optional if 'ir' is provided; |
| 1185 | |
| 1186 | * recording (SignalObj) (optional):: |
| 1187 | The recorded signal-like object, obtained directly from the |
| 1188 | audio interface used on the measurement-like object. Optional |
| 1189 | if 'ir' is provided; |
| 1190 | |
| 1191 | * method (str): |
| 1192 | The way that the impulsive response should be computed, accepts |
| 1193 | "linear", "H1", "H2" and "Ht" as values: |
| 1194 | |
| 1195 | * "linear": |
| 1196 | Computes using the spectral division of the signals; |
| 1197 | |
| 1198 | * "linear_zp": |
| 1199 | zero pads input and output (double size) and |
| 1200 | computes using the spectral division of the signals; |
| 1201 | |
| 1202 | * "H1": |
| 1203 | Uses power spectral density Ser divided by See, with |
| 1204 | "e" standing for "excitation" and "r" for "recording; |
| 1205 | |
| 1206 | * "H2": |
| 1207 | uses power spectral density Srr divided by Sre, with |
| 1208 | "e" standing for "excitation" and "r" for "recording; |
| 1209 | |
| 1210 | * "Ht": |
| 1211 | uses the formula: TODO; |
| 1212 | |
| 1213 | * winType (str | tuple) (optional): |
| 1214 | The name of the window used by the scipy.signal.csd function |
| 1215 | to compute the power spectral density, (only for method="H1", |
| 1216 | method="H2" and method="Ht"). The possible values are: |
| 1217 | |
| 1218 | >>> boxcar, triang, blackman, hamming, hann, bartlett, |
| 1219 | flattop, parzen, bohman, blackmanharris, nuttall, |
| 1220 | barthann, kaiser (needs beta), gaussian (needs standard |
| 1221 | deviation), general_gaussian (needs power, width), |
| 1222 | slepian (needs width), dpss (needs normalized half- |
| 1223 | bandwidth), chebwin (needs attenuation), exponential |
| 1224 | (needs decay scale), tukey (needs taper fraction). |
| 1225 | |
| 1226 | If the window requires no parameters, then window can be |
| 1227 | a string. |
| 1228 |
no outgoing calls
no test coverage detected