NEDAS.utils.multiscale module
- NEDAS.utils.multiscale.lowpass_response(k2d, k1, k2)[source]
Low-pass spectral response function Input - k2d: array, 2d wavenumber - k1, k2: float, wavenumbers defining the transition zone (from 1 to 0 in response) Return - r: array same dimension as k2d, the response function
- NEDAS.utils.multiscale.get_scale_component(grid, fld, character_length, s)[source]
Get scale component using a bandpass filter in spectral space Input: - grid: Grid object - fld: array, […, ny, nx], the input field - character_length: list of characteristic length for each scale - s: int, scale index Return: - fld: array, the scale component s of input fld