This page was created by the IDL library routine `mk_html_help2`.

Last modified: Mon Nov 3 18:16:57 2025.

# Directory Listing of Routines

# general/science/spd_mtm/smoothings/but

- SPD_MTM_BUT
- SPD_MTM_BUT_KS

# Routine Descriptions

## SPD_MTM_BUT

[Next Routine] [List of Routines]

     :Description:
       Low pass filter of the PSD with the
       butterworth filter.

     :Params:
       INPUTS:
             PSD - Power Spectral Density
         ncutoff - number of the frequency cutoff [1,nfreq/2]
          norder - order of the filter

       OUTPUTS:
          butPSD - but-smoothed PSD

     :Author:
         Simone Di Matteo, Ph.D.
         8800 Greenbelt Rd
         Greenbelt, MD 20771 USA
         E-mail: simone.dimatteo@nasa.gov

(See general/science/spd_mtm/smoothings/but/spd_mtm_but.pro)

## SPD_MTM_BUT_KS

[Previous Routine] [List of Routines]

     :Description:
       Kolmogorov-Smirnov test for the smoothing procedure:
       butterworth filtered PSD.

     :Params:
       INPUTS:
         smo_par - percentages of the frequency range
                   defining the smoothing window
       OUTPUTS:
              KS - distance between the estimated and theoretical
                   cumulative distribution function of gamma_j

       COMMON VARIABLES:
       max_lklh
          psd_ml - PSD for the maximum likelihood model fit
           ff_ml - frequency vector for the maximum likelihood model fit

     :Uses:
         spd_mtm_but.pro
         spd_mtm_ks.pro

     :Author:
         Simone Di Matteo, Ph.D.
         8800 Greenbelt Rd
         Greenbelt, MD 20771 USA
         E-mail: simone.dimatteo@nasa.gov

(See general/science/spd_mtm/smoothings/but/spd_mtm_but_ks.pro)