frb.dm_kde.sort_transient_data
Module to correct pulsar and FRB DMs for the MW ISM
- frb.dm_kde.sort_transient_data.find_delta_dm(transient_type, transient_data, ism_model, b_val, mc_deg=5, save_df=True)[source]
Find pulsar/FRB DMs corrected for by the MW ISM DM and remove observations in complex DM regions. Returns array of DMs FRB data is available as a csv in the FRBs/FRB/frb/data/FRBs repo (FRB catalogue [Petroff et al. 2017]) Pulsar data is avaiable as a csv in the FRBs/pulsars/pulsars/data/atnf_cat repo (v1.61 ATNF pulsar catalogue [Manchester et al. 2005])
- Parameters:
transient_type (str) – Accepts ‘frb’ or ‘pulsar’.
transient_data (str) – Path to data (in .csv format).
ism_model (str) – Model used to calculated the MW halo DM. Accepts ‘ymw16’ [Yao et al. 2017] or ‘ne2001’ [Cordes & Lazio 2003].
b_val (int) – Galactic latitude considered (b>b_val, b<-b_val).
mc_deg (int) – Number of degrees from Magellanic clouds within which transients are removed.
save_df (str, optional) – Save transient DMs and coords to csv.
Outputs: