FFT Interface

public interface FFT

It computes the fact Fourier transformation.


Module Procedures

public function FFT1D(x, T, window) result(hatx)

Arguments

Type IntentOptional Attributes Name
complex(kind=kind(0d0)), intent(in) :: x(:)
real(kind=real64), intent(in), optional :: T(2)
character(len=*), intent(in), optional :: window

Return Value complex(kind=kind(0d0)), allocatable, (:)

public function FFT2D_real(xy) result(hatx)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: xy(:,:)

Return Value complex(kind=real64), allocatable, (:,:)

public function FFT2D_comp(xy) result(hatx)

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in) :: xy(:,:)

Return Value complex(kind=real64), allocatable, (:,:)

public function FFT_file_to_file(infile, outfile, window_size, dt, column, as_abs) result(FourierSpectrum)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: infile
character(len=*), intent(in) :: outfile
integer(kind=int32), intent(in) :: window_size
real(kind=real64), intent(in) :: dt
integer(kind=int32), intent(in) :: column
logical, intent(in), optional :: as_abs

Return Value complex(kind=real64), allocatable, (:,:)