pyrex.ice_model.UniformIce.attenuation_length¶
-
UniformIce.
attenuation_length
(z, f)¶ Calculates attenuation lengths for given depths and frequencies.
- Parameters
- zarray_like
(Negative-valued) depths (m) in the ice.
- farray_like
Frequencies (Hz) of the signal.
- Returns
- array_like
Attenuation lengths for the given parameters.
Notes
Based on code from Besson et al as reported by Matt Newcomb [1]. The shape of the output array is determined by the shapes of the input arrays. If both inputs are scalar, the output will be scalar. If one input is scalar and the other is a 1D array, the output will be a 1D array. If both inputs are 1D arrays, the output will be a 2D array where each row corresponds to a single depth and each column corresponds to a single frequency.
References
- 1
M. Newcomb (2013) http://icecube.wisc.edu/~araproject/radio/atten/