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

Last modified: Sat Oct 11 03:17:59 2025.

# Directory Listing of Routines

# general/science/spd_mtm/smoothings/med

- SPD_MTM_MED
- SPD_MTM_MED_KS

# Routine Descriptions

## SPD_MTM_MED

[Next Routine] [List of Routines]

     :Description:
       Evaluate the running median of the PSD.

     :Params:
       INPUTS:
            PSD - Power Spectral Density
            win - running window number of points

       OUTPUTS:
         medPSD - med-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/med/spd_mtm_med.pro)

## SPD_MTM_MED_KS

[Previous Routine] [List of Routines]

     :Description:
       Kolmogorov-Smirnov test for the smoothing procedure:
       running median.

     :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_med.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/med/spd_mtm_med_ks.pro)