Convert energy flux to photon flux

energy_conv_factor(E1, E2, pho_ind = 2)

Arguments

E1

energy min in keV

E2

energy max in keV

pho_ind

Photon index, 2.0 default.

Value

numeric

Details

see https://hea-www.harvard.edu/~pgreen/figs/xray_cheat.pdf

Examples


energy_conv_factor(0.5, 8.0, pho_ind = 1.7)
#> [1] 2.831385e-09