Skip to content

jls713/gh_alternative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Probability functions for near-Gaussian distributions

This repository contains functions for the evaluation of the probability functions in Sanders & Evans (2020, MNRAS).

The Gauss-Hermite series is a useful model for including weak non-Gaussianity. However, its use in a probabilistic framework is limited as it is not guaranteed to be positive-definite. In Sanders & Evans (2020, MNRAS) we presented alternative probability density functions which are guaranteed positive-definite and resemble the properties of a Gauss-Hermite series. The models are constructed via the convolution of a kernel K(y) with a Gaussian. Further convolutions by Gaussian uncertainties are simply incorporated.

Two kernels have proved useful. The uniform kernel which produces models with negative excess kurtosis and the Laplace kernel which produces models with positive excess kurtosis. We provide functions to evaluate the pdf of each of these, the logarithm of the pdf and their Fourier transforms.

A notebook with examples of how to use the code and reproduce some plots in Sanders & Evans (2020) is provided.

About

An alternative to the Gauss-Hermite series for the modelling of line-of-sight velocity data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published