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

Last modified: Fri Oct 10 18:17:40 2025.

# Directory Listing of Routines

# general/science/spd_mtm/smoothings/bin

- SPD_MTM_BIN
- SPD_MTM_BIN_KS

# Routine Descriptions

## SPD_MTM_BIN

[Next Routine] [List of Routines]

     :Description:
       Evaluate the binned PSD.

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

       OUTPUTS:
         binPSD - bin-smoothed PSD
           fbin - binned frequencies

     :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/bin/spd_mtm_bin.pro)

## SPD_MTM_BIN_KS

[Previous Routine] [List of Routines]

     :Description:
       Kolmogorov-Smirnov test for the smoothing procedure:
       binned spectrum.

     :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_bin.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/bin/spd_mtm_bin_ks.pro)