Class SceneDatabaseInputSettings
java.lang.Object
org.noise_planet.noisemodelling.jdbc.input.SceneDatabaseInputSettings
SceneWithEmission will read table according to this settings
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledictates the density of source points created from a line sound source; a higher value means more points and finer discretization sourcePointDistance = DistanceSourceReceiver / lineSourceSpacingRatio -
Constructor Summary
ConstructorsConstructorDescriptionSceneDatabaseInputSettings(SceneDatabaseInputSettings.INPUT_MODE inputMode, String sourcesEmissionTableName) -
Method Summary
Modifier and TypeMethodDescriptionintdoubleGets the name of the table that contains the period-specific atmospheric settings.booleansetCoefficientVersion(int coefficientVersion) voidsetDirectivityTableName(String directivityTableName) voidsetFrequencyFieldPrepend(String frequencyFieldPrepend) voidvoidsetLineSourceSpacingRatio(double lineSourceSpacingRatio) dictates the density of source points created from a line sound source;voidsetPeriodAtmosphericSettingsTableName(String periodAtmosphericSettingsTableName) Sets the name of the table that contains the period-specific atmospheric settings.voidsetSourceEmissionPrimaryKeyField(String sourceEmissionPrimaryKeyField) voidsetSourcesEmissionTableName(String sourcesEmissionTableName) voidsetUseTrainDirectivity(boolean useTrainDirectivity)
-
Field Details
-
lineSourceSpacingRatio
public double lineSourceSpacingRatiodictates the density of source points created from a line sound source; a higher value means more points and finer discretization sourcePointDistance = DistanceSourceReceiver / lineSourceSpacingRatio -
frequencyFieldPrepend
-
-
Constructor Details
-
SceneDatabaseInputSettings
public SceneDatabaseInputSettings() -
SceneDatabaseInputSettings
public SceneDatabaseInputSettings(SceneDatabaseInputSettings.INPUT_MODE inputMode, String sourcesEmissionTableName)
-
-
Method Details
-
getDirectivityTableName
-
setDirectivityTableName
-
isUseTrainDirectivity
public boolean isUseTrainDirectivity() -
setUseTrainDirectivity
public void setUseTrainDirectivity(boolean useTrainDirectivity) -
getCoefficientVersion
public int getCoefficientVersion() -
setCoefficientVersion
-
getInputMode
-
setInputMode
-
getSourcesEmissionTableName
-
setSourcesEmissionTableName
-
getSourceEmissionPrimaryKeyField
-
setSourceEmissionPrimaryKeyField
-
getPeriodAtmosphericSettingsTableName
Gets the name of the table that contains the period-specific atmospheric settings.- Returns:
- The table name storing the period atmospheric settings used for computations.
-
setPeriodAtmosphericSettingsTableName
Sets the name of the table that contains the period-specific atmospheric settings.- Parameters:
periodAtmosphericSettingsTableName- The table name storing the period atmospheric settings to be used for computations. SeeAttenuationParameters.readFromDatabase(ResultSet, Map)
-
getFrequencyFieldPrepend
-
setFrequencyFieldPrepend
-
getLineSourceSpacingRatio
public double getLineSourceSpacingRatio()- Returns:
- dictates the density of source points created from a line sound source; a higher value means more points and finer discretization sourcePointDistance = DistanceSourceReceiver / lineSourceSpacingRatio
-
setLineSourceSpacingRatio
public void setLineSourceSpacingRatio(double lineSourceSpacingRatio) dictates the density of source points created from a line sound source;- Parameters:
lineSourceSpacingRatio- a higher value means more points and finer discretization
-