Returns the wavenumber spacing [rad/m] array of the spectrum instance.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(spectrum_type), | intent(in) | :: | self | Spectrum instance |
Wavenumber spacing [rad/m]
pure function getWavenumberSpacing(self) result(dk)
!! Returns the wavenumber spacing [rad/m] array of the spectrum instance.
class(spectrum_type),intent(in) :: self !! Spectrum instance
real(kind=rk),dimension(:),allocatable :: dk !! Wavenumber spacing [rad/m]
dk = self % dk
endfunction getWavenumberSpacing