Note
Function that apodize the reference surface for acf calculus purposes
subroutine apod_sur() !================================================================================================ !<@note Function that apodize the reference surface for acf calculus purposes !< !<@endnote !------------------------------------------------------------------------------------------------ implicit none integer(kind=I4) :: w, h real(kind=R8), allocatable, dimension(:,:) :: tab_tmp w = PARAM%width h = PARAM%height allocate( tab_tmp(1:w, 1:h) ) call apod( tab_in = PARAM%surf(1:w, 1:h), & ! IN tab_out = tab_tmp(1:w, 1:h), & ! OUT long = w, & ! IN larg = h, & ! IN type_apo = 'tuckey' ) ! IN ! standardize surface call std_array( tab_tmp(1:w, 1:h) ) PARAM%surf(1:w, 1:h) = tab_tmp(1:w, 1:h) deallocate( tab_tmp ) return endsubroutine apod_sur