frb.mw - Milky Way

Calculations related to the Milky Way, including ISM DM using the NE2001 electron density model.

Module for calculations related to the Galaxy

frb.mw.ismDM(coord)[source]

Calculate the dispersion measure (DM) contribution from the interstellar medium (ISM) along a given line of sight in galactic coordinates. :param coord: The input sky coordinate to transform

into galactic coordinates.

Returns:

The dispersion measure (DM) value calculated for the ISM along the specified line of sight up to a distance of 100 parsecs.

Return type:

float

frb.mw.haloDM(coord, f_diffuse=0.75, zero=True)[source]