craftutils.observation.objects.FRB.dm_host_from_tau(afg: Quantity | float, z_host: float | None = None, subtract_mw: bool = True)

Implements an inverted form of Equation 9, equivalent to Equation 23, of Cordes et al 2022 (https://www.doi.org/10.3847/1538-4357/ac6873) Note that the quantity returned is in the HOST FRAME.

Parameters
afg: Quantity | float

$A_ au widetilde{F} G$, as described in Cordes et al 2022; these parameters, related to the geometry of the source, host, and ISM, are usually constrained in combination.

z_host: float | None = None

The redshift of the host galaxy. If not given, will attempt to use the self.host_galaxy.z

Returns

Estimated DM_host, in the host rest frame.