get_macquart_z

zdm.vvmax.get_macquart_z(DMeg, state, DMhost, zmin=0.001, zmax=2, NZ=2000)[source]

gets z(DM) from the Macquart relation

INPUTS:
DMeg [float or np.ndarray]: extragalactic DM at which

to calculate z [pc/cm3]

state [instance of parameter state class] DMhost: assumed value of DM host zmin [int]: minimum redshift for interpolation zmax [int]: maximum redshift for interpolation NZ [int]: number of redshifts for interpolation

Returns:

Macquart relation expectation for

redshift of FRBs with DMeg

Return type:

zFRBs (float or np.ndarray)