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

Class Analysis

pytta/classes/analysis.py:26–821  ·  view source on GitHub ↗

Objects belonging to the Analysis class holds fractional octave band data. It does conveniently the operations linearly between Analyses of the type 'Level'. Therefore those operations do not occur with values in dB scale. Available Analysis' types below. For more information

Source from the content-addressed store, hash-verified

24 'mixed': ('-', 'Mixed')}
25
26class Analysis(RICI):
27 """
28 Objects belonging to the Analysis class holds fractional octave band data.
29
30 It does conveniently the operations linearly between Analyses of the type
31 'Level'. Therefore those operations do not occur with values in dB scale.
32
33 Available Analysis' types below.
34
35 For more information see each parameter/attribute/method specific
36 documentation.
37
38 Creation parameters (default), (type):
39 --------------------------------------
40
41 * anType (), (string):
42 Type of the Analysis. May be:
43 - 'RT' for 'Reverberation time' Analysis in [s];
44 - 'C' for 'Clarity' in dB;
45 - 'D' for 'Definition' in %;
46 - 'G' for 'Strength factor' in dB;
47 - 'L' for any 'Level' Analysis in dB (e.g: SPL);
48 - 'mixed' for any combination between the types above.
49
50 * nthOct, (int):
51 The number of fractions per octave;
52
53 * minBand, (int | float):
54 The exact or approximated start frequency;
55
56 * maxBand, (int | float):
57 The exact or approximated stop frequency;
58
59 * data, (list | numpy array):
60 The data with the exact number of bands between the specified minimum
61 (minBand) and maximum band (maxBand);
62
63 * dataLabel (''), (string):
64 Label for plots;
65
66 * error, (list | numpy array):
67 The error with the exact number of bands between the specified
68 minimum (minBand) and maximum band (maxBand);
69
70 * errorLabel (''), (string):
71 Label for plots;
72
73 * comment ('No comments.'), (string):
74 Some comment about the object.
75
76 * xLabel (None), (string):
77 x axis plot label;
78
79 * yLabel (None), (string):
80 y axis plot label;
81
82 * title (None), (string):
83 plot title.

Callers 13

Lp_STFunction · 0.90
G_LpeFunction · 0.90
G_LpsFunction · 0.90
strength_factorFunction · 0.90
analyseFunction · 0.90
SPLFunction · 0.90
__h5_unpackFunction · 0.90
G_T_revChMethod · 0.90
__add__Method · 0.85
__sub__Method · 0.85
__mul__Method · 0.85
__rtruediv__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected