data¶
-
class
data.Data(settings: pyNA.src.settings.Settings)[source]¶ Bases:
objectData class containing the following parameters:
f: 1/3-rd octave frequency bands [Hz]f_sb: sub-bands of the 1/3rd octave frequency bands [Hz]abs: table with atmospheric absorption coefficientsabs_freq: frequencies of atmospheric absorption coefficient tableabs_alt: altitudes of atmospheric absorption coefficient tableabs_f: interpolation function for atmospheric absorption coefficientjet_D: table with jet mixing noise directivity dependencyjet_D_angles: table with jet mixing noise directivity dependency: directivity anglesjet_D_velocity: table with jet mixing noise directivity dependency: jet velocity ratiojet_D_f: interpolation function for jet mixing noise directivity dependencyjet_xi: table with jet mixing noise Strouhal number correction factorjet_xi_angles: table with jet mixing noise Strouhal number correction factor: directivity anglesjet_xi_velocity: table with jet mixing noise Strouhal number correction factor: jet velocity ratiojet_xi_f: interpolation function for jet mixing noise Strouhal number correction factorjet_F: table with jet mixing noise spectral dependencyjet_F_angles: table with jet mixing noise spectral dependency: directivity anglesjet_F_temperature: table with jet mixing noise spectral dependency: jet temperature ratiojet_F_velocity: table with jet mixing noise spectral dependency: jet velocity ratiojet_F_strouhal: table with jet mixing noise spectral dependency: Strouhal numberjet_F_f: interpolation function for jet mixing noise spectral dependencyFaddeeva_itau_re: table with real part of the input to the Faddeeva function (for julia ground reflections)Faddeeva_itau_im: table with imaginary part of the input to the Faddeeva function (for julia ground reflections)Faddeeva_real: table with real part of the Faddeeva function (for julia ground reflections)Faddeeva_imag: table with imaginary part of the Faddeeva function (for julia ground reflections)noy_spl: sound pressure levels of noy tablenoy_freq: 1/3-rd octave frequency bands of noy tablenoy: noy tablenoy_f: inteprolation function for the noy tablesupp_fi: table with suppression factors for fan inlet noisesupp_fi_angles: directivity angles of suppression factors for fan inlet noise tablesupp_fi_freq: frequencies of suppression factors for fan inlet noise tablesupp_fi_f: interpolation function for fan inlet noise suppression coefficientsupp_fd: table with suppression factors for fan discharge noisesupp_fd_angles: directivity angles of suppression factors for fan discharge noise tablesupp_fd_freq: frequencies of suppression factors for fan discharge noise tablesupp_fd_f: interpolation function for fan discharge noise suppression coefficientsupp_af: table with HSR suppression factors for airframe noisesupp_af_angles: directivity angles of suppression factors for airframe noise tablesupp_af_freq: frequencies of suppression factors for airframe noise tablesupp_af_f: interpolation function for HSR airframe noise suppression coefficientshield_l: lateral microphone airframe shielding delta dB [dB]shield_f: flyover microphone airframe shielding delta dB [dB]shield_a: approach microphone airframe shielding delta dB [dB]
-
Faddeeva_imag: np.ndarray¶
-
Faddeeva_itau_im: np.ndarray¶
-
Faddeeva_itau_re: np.ndarray¶
-
Faddeeva_real: np.ndarray¶
-
__init__(settings: pyNA.src.settings.Settings) → None[source]¶ Initialize Data class.
- Parameters
settings (Settings) – pyna settings
- Returns
None
-
abs: np.ndarray¶
-
abs_alt: np.ndarray¶
-
abs_f: interpolate.interpolate.interp2d¶
-
abs_freq: np.ndarray¶
-
compute_frequency_bands(settings: pyNA.src.settings.Settings) → None[source]¶ - Compute the 1/3rd order frequency bands and with sub-bands.
f: 1/3rd order frequency bands
f_sb: frequency sub-bands
- Parameters
settings (Settings) – pyna settings.
- Returns
None
-
f: np.ndarray¶
-
f_sb: np.ndarray¶
-
jet_D: np.ndarray¶
-
jet_D_angles: np.ndarray¶
-
jet_D_f: interpolate.interpolate.interp2d¶
-
jet_D_velocity: np.ndarray¶
-
jet_F: np.ndarray¶
-
jet_F_angles: np.ndarray¶
-
jet_F_f: interpolate.interpolate.RegularGridInterpolator¶
-
jet_F_strouhal: np.ndarray¶
-
jet_F_temperature: np.ndarray¶
-
jet_F_velocity: np.ndarray¶
-
jet_xi: np.ndarray¶
-
jet_xi_angles: np.ndarray¶
-
jet_xi_f: interpolate.interpolate.interp2d¶
-
jet_xi_velocity: np.ndarray¶
-
load_jet_data(settings: pyNA.src.settings.Settings) → None[source]¶ Load the jet source noise model data.
- Parameters
settings (Settings) – pyna settings
- Returns
None
-
load_noy_data(settings: pyNA.src.settings.Settings) → None[source]¶ Load noy tables for tone-corrected perceived noise level (pnlt) computation.
- Parameters
settings (Settings) – pyna settings.
- Returns
None
-
load_propagation_tables(settings: pyNA.src.settings.Settings) → None[source]¶ Load atmospheric absorption coefficient table.
- Parameters
settings (Settings) – pyna settings.
- Returns
None
-
load_source_verification_data(settings: pyNA.src.settings.Settings, components: list)[source]¶ Load verification data for noise source spectral and directional distributions.
- Parameters
settings (Settings) – pyNA settings
components (list) – list of components to run
- Returns
(data_val, data_val_s)
- Return type
(dict, dict)
-
load_suppression_tables(settings: pyNA.src.settings.Settings) → None[source]¶ - Load the noise suppression tables for:
fan inlet source noise suppression
fan discharge source noise suppression
airframe noise suppression (high-speed research program)
- Parameters
settings (Settings) – pyna settings.
- Returns
None
-
load_trajectory_verification_data(settings: pyNA.src.settings.Settings) → None[source]¶ Loads the verification data of the NASA STCA noise assessment (Berton et al., 2019).
- Parameters
settings (Settings) – pyNA settings
- Returns
data_val
- Return type
pd.DataFrame
-
noy: np.ndarray¶
-
noy_f: interpolate.interpolate.interp2d¶
-
noy_freq: np.ndarray¶
-
noy_spl: np.ndarray¶
-
shield_a: np.ndarray¶
-
shield_f: np.ndarray¶
-
shield_l: np.ndarray¶
-
supp_af: np.ndarray¶
-
supp_af_angles: np.ndarray¶
-
supp_af_f: interpolate.interpolate.interp2d¶
-
supp_af_freq: np.ndarray¶
-
supp_fd: np.ndarray¶
-
supp_fd_angles: np.ndarray¶
-
supp_fd_f: interpolate.interpolate.interp2d¶
-
supp_fd_freq: np.ndarray¶
-
supp_fi: np.ndarray¶
-
supp_fi_angles: np.ndarray¶
-
supp_fi_f: interpolate.interpolate.interp2d¶
-
supp_fi_freq: np.ndarray¶