Skip to content
289 changes: 289 additions & 0 deletions docs/nb/Explore_mNFW.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frb/builds/build_hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ def run(host_input:pandas.core.series.Series,
continue
# Load table
sub_tbl = read_lit_table(lit_entry, coord=Host.coord)
#embed(header='Check the table 298')
if sub_tbl is not None:
# Add References, unless the value is masked
for key in sub_tbl.keys():
Expand Down
12 changes: 7 additions & 5 deletions frb/builds/build_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@

from astropy.coordinates import SkyCoord

from astropath.priors import load_std_priors
try:
from astropath.priors import load_std_priors
except ModuleNotFoundError:
print("astropath not installed; install it to build PATH")
else:
from frb.associate import frbassociate
from frb.associate import frbs

from frb.frb import FRB

from frb.associate import frbassociate
from frb.associate import frbs
from frb.galaxies import hosts

from frb import utils

from IPython import embed
Expand Down
10 changes: 7 additions & 3 deletions frb/builds/build_specdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@
from astropy import units
from astropy.table import Table, vstack

from specdb import defs
from specdb.build import privatedb as pbuild
from specdb.build import utils as spbu
try:
from specdb import defs
except (ImportError, ModuleNotFoundError):
print("No specdb module found, please install specdb if you wish to build specdb")
else:
from specdb.build import privatedb as pbuild
from specdb.build import utils as spbu

from frb.surveys import sdss

Expand Down
24 changes: 24 additions & 0 deletions frb/data/FRBs/FRB20231230D.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"DM": {
"unit": "pc / cm3",
"value": 676.5
},
"DMISM": {
"unit": "pc / cm3",
"value": 77.68146851336017
},
"FRB": "FRB20231230D",
"cosmo": "Planck18",
"dec": 8.514104,
"eellipse": {
"a": 0.689,
"b": 0.446,
"cl": 68.0,
"theta": 0.0
},
"ra": 118.760791,
"refs": [
"Muller25"
],
"repeater": false
}
24 changes: 24 additions & 0 deletions frb/data/FRBs/FRB20240117B.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"DM": {
"unit": "pc / cm3",
"value": 881.0
},
"DMISM": {
"unit": "pc / cm3",
"value": 35.653452250786614
},
"FRB": "FRB20240117B",
"cosmo": "Planck18",
"dec": -15.852306,
"eellipse": {
"a": 0.697,
"b": 0.472,
"cl": 68.0,
"theta": 0.0
},
"ra": 53.8775,
"refs": [
"Muller25"
],
"repeater": false
}
358 changes: 180 additions & 178 deletions frb/data/FRBs/FRBs_base.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions frb/data/Galaxies/20230203A/FRB20230203A_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"ra": 151.66383333333332,
"ra_FRB": 151.661594,
"redshift": {
"z": "0.1464",
"z_FRB": "0.1464",
"z_spec": "0.1464"
"z": 0.1464,
"z_FRB": 0.1464,
"z_spec": 0.1464
}
}
6 changes: 3 additions & 3 deletions frb/data/Galaxies/20230222A/FRB20230222A_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"ra": 106.96049999999997,
"ra_FRB": 106.960358,
"redshift": {
"z": "0.1223",
"z_FRB": "0.1223",
"z_spec": "0.1223"
"z": 0.1223,
"z_FRB": 0.1223,
"z_spec": 0.1223
}
}
6 changes: 3 additions & 3 deletions frb/data/Galaxies/20230222B/FRB20230222B_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@
"ra": 238.73795833333332,
"ra_FRB": 238.739123,
"redshift": {
"z": "0.11",
"z_FRB": "0.11",
"z_spec": "0.11"
"z": 0.11,
"z_FRB": 0.11,
"z_spec": 0.11
}
}
6 changes: 3 additions & 3 deletions frb/data/Galaxies/20230311A/FRB20230311A_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"ra": 91.11045833333331,
"ra_FRB": 91.109662,
"redshift": {
"z": "0.1918",
"z_FRB": "0.1918",
"z_spec": "0.1918"
"z": 0.1918,
"z_FRB": 0.1918,
"z_spec": 0.1918
}
}
6 changes: 3 additions & 3 deletions frb/data/Galaxies/20230703A/FRB20230703A_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"ra": 184.62279166666667,
"ra_FRB": 184.624449,
"redshift": {
"z": "0.1184",
"z_FRB": "0.1184",
"z_spec": "0.1184"
"z": 0.1184,
"z_FRB": 0.1184,
"z_spec": 0.1184
}
}
6 changes: 3 additions & 3 deletions frb/data/Galaxies/20230730A/FRB20230730A_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"ra": 54.66491666666666,
"ra_FRB": 54.664564,
"redshift": {
"z": "0.2115",
"z_FRB": "0.2115",
"z_spec": "0.2115"
"z": 0.2115,
"z_FRB": 0.2115,
"z_spec": 0.2115
}
}
6 changes: 3 additions & 3 deletions frb/data/Galaxies/20230926A/FRB20230926A_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"ra": 269.12416666666667,
"ra_FRB": 269.124876,
"redshift": {
"z": "0.0553",
"z_FRB": "0.0553",
"z_spec": "0.0553"
"z": 0.0553,
"z_FRB": 0.0553,
"z_spec": 0.0553
}
}
6 changes: 3 additions & 3 deletions frb/data/Galaxies/20231005A/FRB20231005A_host.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"ra": 246.02758333333327,
"ra_FRB": 246.028004,
"redshift": {
"z": "0.0713",
"z_FRB": "0.0713",
"z_spec": "0.0713"
"z": 0.0713,
"z_FRB": 0.0713,
"z_spec": 0.0713
}
}
102 changes: 102 additions & 0 deletions frb/data/Galaxies/20231230D/FRB20231230D_host.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"FRB": "FRB20231230D",
"cosmo": "Planck18",
"dec": 8.514047222222223,
"dec_FRB": 8.514104,
"offsets": {
"ang_avg": 0.791731685542606,
"ang_avg_err": 0.4185592492588425,
"ang_best": 0.3583347629645313,
"ang_best_err": 0.6025153422447193,
"physical": 2.268514141830039,
"physical_err": 3.814351036566892
},
"photom": {
"DECaL_g": 21.661051834987184,
"DECaL_g_err": 0.040882354471346916,
"DECaL_g_flux": 0.007862836776434113,
"DECaL_g_flux_err": 0.0002960675704059553,
"DECaL_r": 20.553324814933422,
"DECaL_r_err": 0.023855623647565917,
"DECaL_r_flux": 0.021810723308789522,
"DECaL_r_flux_err": 0.0004792217524436205,
"DECaL_z": 19.838043270626834,
"DECaL_z_err": 0.0238849115642301,
"DECaL_z_flux": 0.04214855460816465,
"DECaL_z_flux_err": 0.0009272183196657814,
"DELVE_g": 23.06501179571173,
"DELVE_g_err": 0.13502,
"DELVE_g_flux": 0.002157720938652973,
"DELVE_g_flux_err": 0.0002683298943704521,
"DELVE_i": 20.597675353266858,
"DELVE_i_err": 0.067229,
"DELVE_i_flux": 0.020937742432415203,
"DELVE_i_flux_err": 0.001296469142154488,
"DELVE_r": 20.88736137636026,
"DELVE_r_err": 0.059546,
"DELVE_r_flux": 0.016034500803990916,
"DELVE_r_flux_err": 0.0008793944428583761,
"DELVE_z": 20.559561898728777,
"DELVE_z_err": 0.053564,
"DELVE_z_flux": 0.021685789348307564,
"DELVE_z_flux_err": 0.0010698525254682024,
"EBV": 0.015,
"Pan-STARRS_g": 22.410340557933885,
"Pan-STARRS_g_err": 0.14005300402641296,
"Pan-STARRS_g_flux": 0.0039433358867038875,
"Pan-STARRS_g_flux_err": 0.0005086650278380184,
"Pan-STARRS_i": 21.03563497017642,
"Pan-STARRS_i_err": 0.07777199894189835,
"Pan-STARRS_i_flux": 0.013987690240386888,
"Pan-STARRS_i_flux_err": 0.0010019474581464403,
"Pan-STARRS_r": 21.512898890516073,
"Pan-STARRS_r_err": 0.07396099716424942,
"Pan-STARRS_r_flux": 0.009012399568124468,
"Pan-STARRS_r_flux_err": 0.0006139300282886193,
"Pan-STARRS_y": 20.658202339678873,
"Pan-STARRS_y_err": 0.17897500097751617,
"Pan-STARRS_y_flux": 0.0198024560656106,
"Pan-STARRS_y_flux_err": 0.003264277803547512,
"Pan-STARRS_z": 21.243003276038678,
"Pan-STARRS_z_err": 0.13416799902915955,
"Pan-STARRS_z_flux": 0.011555764534442431,
"Pan-STARRS_z_flux_err": 0.0014279838859971106,
"SDSS_g": 21.83545358,
"SDSS_g_err": 0.1171503,
"SDSS_g_flux": 0.006696048063185769,
"SDSS_g_flux_err": 0.0007224996605795081,
"SDSS_i": 20.532470879999998,
"SDSS_i_err": 0.08261085,
"SDSS_i_flux": 0.022233694925482918,
"SDSS_i_flux_err": 0.0016917041435898362,
"SDSS_r": 21.022274850000002,
"SDSS_r_err": 0.08552013,
"SDSS_r_flux": 0.014160873861040051,
"SDSS_r_flux_err": 0.0011154088518025716,
"SDSS_u": 22.82702878,
"SDSS_u_err": 0.7371877,
"SDSS_u_flux": 0.0026865101287386747,
"SDSS_u_flux_err": 0.0018240731166119276,
"SDSS_z": 20.22236716,
"SDSS_z_err": 0.2192477,
"SDSS_z_flux": 0.02958374363128552,
"SDSS_z_flux_err": 0.0059739812673870706,
"VLT_FORS2_R": 20.949479031204234,
"VLT_FORS2_R_err": 0.005697,
"VLT_FORS2_R_flux": 0.015142876548917853,
"VLT_FORS2_R_flux_err": 7.94566556048513e-05,
"VLT_FORS2_R_ref": "Muller2025",
"VLT_HAWKI_Ks": 19.221020812990094,
"VLT_HAWKI_Ks_err": 0.017108,
"VLT_HAWKI_Ks_flux": 0.07440320935773673,
"VLT_HAWKI_Ks_flux_err": 0.0011723751129545533,
"VLT_HAWKI_Ks_ref": "Muller2025"
},
"ra": 118.76070833333333,
"ra_FRB": 118.760791,
"redshift": {
"z": 0.506,
"z_FRB": 0.506,
"z_spec": 0.506
}
}
Loading