Skip to content

python module to calculate Hankel Transforms when the input signal is log sampled

Notifications You must be signed in to change notification settings

JoeMcEwen/LOG_HT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LOG_HT

LOG_HT is python module to perform Hankel transforms when the input signal is log sampled. The code calculates:

F(k)= \int_0^\infty f(r) (kr)^q J_\mu(kr) k dr

f(r)= \int_0^\infty F(k) (kr)^{-q} J_\mu(kr) r dk ,

when f(r)/F(k) are input data that are sampled in log space.

LOG_HT is very fast! The algorithm is due to Andrew Hamilton (see http://casa.colorado.edu/~ajsh/FFTLog/) and was originally inteded for cosmological correlation function and power spectrum calculations.

I (Joseph McEwen) have rewritten the code in python.

See the code LOG_HT_cosmo_test.py as an example of usage.

About

python module to calculate Hankel Transforms when the input signal is log sampled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages