MCPcopy Create free account
hub / github.com/PyTTaMaster/PyTTa / analyse

Function analyse

pytta/rooms.py:255–418  ·  view source on GitHub ↗

DEPRECATED ---------- Being replaced by class pytta.RoomAnalysis on version 0.1.1. Room analysis over a single SignalObj. Receives an one channel SignalObj or ImpulsiveResponse and calculate the room acoustic parameters especified in the positional input argume

(obj, *params,
            bypassLundeby=False,
            plotLundebyResults=False,
            suppressWarnings=False,
            IREndManualCut=None, **kwargs)

Source from the content-addressed store, hash-verified

253 return G
254
255def analyse(obj, *params,
256 bypassLundeby=False,
257 plotLundebyResults=False,
258 suppressWarnings=False,
259 IREndManualCut=None, **kwargs):
260 """
261 DEPRECATED
262 ----------
263 Being replaced by class pytta.RoomAnalysis on version 0.1.1.
264
265 Room analysis over a single SignalObj.
266
267 Receives an one channel SignalObj or ImpulsiveResponse and calculate the
268 room acoustic parameters especified in the positional input arguments.
269 Calculates reverberation time, definition and clarity.
270
271 The method for strength factor calculation implies in many input parameters
272 and specific procedures, as the sound source's power estimation.
273 The pytta.roomir app was designed aiming to support this room parameter
274 measurement. For further information check pytta.roomir's and
275 pytta.rooms.strength_factor's docstrings.
276
277 Input arguments (default), (type):
278 -----------------------------------
279
280 * obj (), (SignalObj | ImpulsiveResponse):
281 one channel impulsive response
282
283 * non-keyworded argument pairs:
284 Pair for 'RT' (reverberation time):
285
286 - RTdecay (20), (int):
287 Decay interval for RT calculation. e.g. 20
288
289 Pair for 'C' (clarity): # TODO
290
291 - Cparam (50), (int):
292 ...
293
294 Pair for 'D' (definition): # TODO
295
296 - Dparam (50), (int):
297 ...
298
299 * nthOct (), (int):
300 Number of bands per octave;
301
302 * minFreq (), (int | float):
303 Analysis' inferior frequency limit;
304
305 * maxFreq (), (int | float):
306 Analysis' superior frequency limit;
307
308 * bypassLundeby (false), (bool):
309 Bypass lundeby correction
310
311 * plotLundebyResults (false), (bool):
312 Plot the Lundeby correction parameters;

Callers

nothing calls this directly

Calls 6

crop_IRFunction · 0.90
cumulative_integrationFunction · 0.90
reverberation_timeFunction · 0.90
AnalysisClass · 0.90
splitMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected