data

class data.Data(settings: pyNA.src.settings.Settings)[source]

Bases: object

Data 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 coefficients

  • abs_freq: frequencies of atmospheric absorption coefficient table

  • abs_alt: altitudes of atmospheric absorption coefficient table

  • abs_f: interpolation function for atmospheric absorption coefficient

  • jet_D: table with jet mixing noise directivity dependency

  • jet_D_angles: table with jet mixing noise directivity dependency: directivity angles

  • jet_D_velocity: table with jet mixing noise directivity dependency: jet velocity ratio

  • jet_D_f: interpolation function for jet mixing noise directivity dependency

  • jet_xi: table with jet mixing noise Strouhal number correction factor

  • jet_xi_angles: table with jet mixing noise Strouhal number correction factor: directivity angles

  • jet_xi_velocity: table with jet mixing noise Strouhal number correction factor: jet velocity ratio

  • jet_xi_f: interpolation function for jet mixing noise Strouhal number correction factor

  • jet_F: table with jet mixing noise spectral dependency

  • jet_F_angles: table with jet mixing noise spectral dependency: directivity angles

  • jet_F_temperature: table with jet mixing noise spectral dependency: jet temperature ratio

  • jet_F_velocity: table with jet mixing noise spectral dependency: jet velocity ratio

  • jet_F_strouhal: table with jet mixing noise spectral dependency: Strouhal number

  • jet_F_f: interpolation function for jet mixing noise spectral dependency

  • Faddeeva_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 table

  • noy_freq: 1/3-rd octave frequency bands of noy table

  • noy: noy table

  • noy_f: inteprolation function for the noy table

  • supp_fi: table with suppression factors for fan inlet noise

  • supp_fi_angles: directivity angles of suppression factors for fan inlet noise table

  • supp_fi_freq: frequencies of suppression factors for fan inlet noise table

  • supp_fi_f: interpolation function for fan inlet noise suppression coefficient

  • supp_fd: table with suppression factors for fan discharge noise

  • supp_fd_angles: directivity angles of suppression factors for fan discharge noise table

  • supp_fd_freq: frequencies of suppression factors for fan discharge noise table

  • supp_fd_f: interpolation function for fan discharge noise suppression coefficient

  • supp_af: table with HSR suppression factors for airframe noise

  • supp_af_angles: directivity angles of suppression factors for airframe noise table

  • supp_af_freq: frequencies of suppression factors for airframe noise table

  • supp_af_f: interpolation function for HSR airframe noise suppression coefficient

  • shield_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_shielding_time_series(settings: pyNA.src.settings.Settings)[source]
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