PlotDirectivity
Plots the directivity graph of the specified DIR_ID
Overview
➡️ Plots the directivity graph of the specified “DIR_ID”
Arguments
Mandatory inputs
confDirId— Directivity IndexIdentifier of the directivity sphere from “tableSourceDirectivity” parameter or train directivity if “tableSourceDirectivity” parameter is not filled (INTEGER) In case of train, you can use these values:
0 = OMNIDIRECTIONAL
1 = ROLLING
2 = TRACTIONA
3 = TRACTIONB
4 = AERODYNAMICA
5 = AERODYNAMICB
6 = BRIDGE
Type:
IntegerconfFrequency— FrequencyFrequency to plot (INTEGER). 63, 125, 250, 500, 1000, 2000, 4000, 8000 (should match with the column of tableSourceDirectivity
Type:
Integer
Optional inputs
confScaleMaximum— Maximum scale attenuation (dB)Maximum scale attenuation (in dB)
Type:
DoubleDefault:
0confScaleMinimum— Minimum scale attenuation (dB)Minimum scale attenuation (in dB)
Type:
DoubleDefault:
-35tableSourceDirectivity— Source directivity table nameName of the emission directivity table.🛠 If not specified the default is train directivity of CNOSSOS-EU The table must contain the following columns:
DIR_ID : identifier of the directivity sphere (INTEGER)
THETA : [-90;90] Vertical angle in degree. 0° front 90° top -90° bottom (FLOAT)
PHI : [0;360] Horizontal angle in degree. 0° front 90° right (FLOAT)
LW63, LW125, LW250, LW500, LW1000, LW2000, LW4000, LW8000 : attenuation levels in dB for each octave or third octave (FLOAT).
Type:
String
Output
result— Result output stringSvg/Html of the directivity chart
Type:
String