Skip to content

Julia implementation of the first and second synchrotron function

License

Notifications You must be signed in to change notification settings

LudwigBoess/SynchrotronKernel.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation Build Status Licence Version Status
Build Status codecov.io License: GPL v3 TagBot CompatHelper

SynchrotronKernel.jl

This package computes the synchrotron kernel for a frequency ratio x = ν/ν0 and its polarisation components.

It is based on pynchrotron by J. Michael Burgess as used in Burgess et al (2019) and is a re-implementation of the GSL synchrotron functions.

Usage

using SynchrotronKernel

"""
    General usage
"""
# kernel value and polarisation components
K, K_ort, K_par = synchrotron_kernel(x)

# only kernel value
K = synchrotron_intensity(x)
# or
K = (x)

# polarisations
K_ort, K_par = synchrotron_polarisation(x)

"""
    Synchrotron Functions
"""

# first synchrotron function
K = (x)

# second synchrotron function
K = 𝒢(x)

About

Julia implementation of the first and second synchrotron function

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages