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

Last modified: Wed Sep 17 18:17:43 2025.

# Directory Listing of Routines

# general/science/spd_mtm/pdf_functions

- SPD_MTM_CKS
- SPD_MTM_GAMMAJ_CDF
- SPD_MTM_GAMMAJ_CVF
- SPD_MTM_KS

# Routine Descriptions

## SPD_MTM_CKS

[Next Routine] [List of Routines]

     :Description:
       Kolmogorov-Smirnov significance.

     :Params:
       INPUTS:
         psd - power spectral density

       OUTPUTS:
         CKS - confidence level

     :Uses:
         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/pdf_functions/spd_mtm_cks.pro)

## SPD_MTM_GAMMAJ_CDF

[Previous Routine] [Next Routine] [List of Routines]

     :Description:
       Return the cumulative distribution funtion (CDF) value at a given point
       for the distribution of the random variable gamma.

     :Params:
       INPUTS:
                  x - gamma values

       OUTPUTS:
           gamj_cdf - CDF at the x values

       COMMON VARIABLES:
         gammaj
           alpha_gj - half degree of freedom of the PSD at each frequency
               Ktpr - number of tapers (max value is 2*NW - 1)
        gamj_cdf_xx - CDF at fixed gamma values
                 xx - fixed gamma values (cover up to Ktpr=20)

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

(See general/science/spd_mtm/pdf_functions/spd_mtm_gammaj_cdf.pro)

## SPD_MTM_GAMMAJ_CVF

[Previous Routine] [Next Routine] [List of Routines]

     :Description:
       Return the cutting value at a given confidence threshold pp
       for the distribution of the random variable gamma.

     :Params:
       INPUTS:
                   x - gamma values

       COMMON VARIABLES:
         gammaj
            alpha_gj - half degree of freedom of the PSD at each frequency
                Ktpr - number of tapers (max value is 2*NW - 1)
                  pp - confidence threshold percentage
         gamj_cdf_xx - CDF at fixed gamma values
                  xx - fixed gamma values (cover up to Ktpr=20)

     :Uses:
         spd_mtm_gammaj_cdf.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/pdf_functions/spd_mtm_gammaj_cvf.pro)

## SPD_MTM_KS

[Previous Routine] [List of Routines]

     :Description:
       Kolmogorov-Smirnov test.

     :Params:
       INPUTS:
               Sj - Power Spectral Density

       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

     :Uses:
         spd_mtm_gammaj_cdf.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/pdf_functions/spd_mtm_ks.pro)