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
| 24 | 'mixed': ('-', 'Mixed')} |
| 25 | |
| 26 | class 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. |
no outgoing calls
no test coverage detected