F_to_E
- zdm.cosmology.F_to_E(F, z, alpha=0, bandwidth=1000000000.0, Fobs=1300000000.0, Fref=1300000000.0)[source]
Convert observed fluence to isotropic-equivalent energy.
Uses the formula from Macquart & Ekers (2018) to convert observed fluence to source-frame burst energy. Supports array inputs for z.
- Parameters:
F (float or array_like) – Observed fluence in Jy ms.
z (float or array_like) – Redshift of the source.
alpha (float, optional) – Spectral index where F_nu ~ nu^(-alpha). Default is 0 (flat spectrum). Note: This uses the convention F ~ nu^(-alpha), opposite to some papers.
bandwidth (float, optional) – Observation bandwidth in Hz. Default is 1e9 (1 GHz).
Fobs (float, optional) – Observation frequency in Hz. Default is 1.3e9 (1.3 GHz, ASKAP/Parkes).
Fref (float, optional) – Reference frequency for energy normalization in Hz. Default is 1.3e9.
- Returns:
Isotropic-equivalent burst energy in erg.
- Return type:
float or ndarray
Notes
Unit conversion factor 9.523396e22 accounts for: - 10^-26 from Jy to W/m^2/Hz - 1e-3 from ms to s - (3.086e22 m/Mpc)^2 for distance conversion - 1e7 from J to erg