diff --git a/redback/priors/arnett.prior b/redback/priors/arnett.prior index aab3b852a..9d75025da 100644 --- a/redback/priors/arnett.prior +++ b/redback/priors/arnett.prior @@ -1,7 +1,7 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/arnett_bolometric.prior b/redback/priors/arnett_bolometric.prior index 0a132b5b4..0e2aa7667 100644 --- a/redback/priors/arnett_bolometric.prior +++ b/redback/priors/arnett_bolometric.prior @@ -1,5 +1,7 @@ f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_{\odot})$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') + + diff --git a/redback/priors/basic_magnetar.prior b/redback/priors/basic_magnetar.prior index 84549dead..792eea314 100644 --- a/redback/priors/basic_magnetar.prior +++ b/redback/priors/basic_magnetar.prior @@ -1,4 +1,4 @@ -p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$p_{0} [ms]$') -bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}$ [10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M [M_{\odot}]$') -theta_pb = Uniform(0, 3.14, 'theta_pb', latex_label = r'$\theta_{\mathrm{PB}}$') \ No newline at end of file +p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}}~(M_\odot)$') +theta_pb = Uniform(0, 3.14, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}~({\mathrm{rad}})$') \ No newline at end of file diff --git a/redback/priors/basic_magnetar_powered.prior b/redback/priors/basic_magnetar_powered.prior index 228f5dcfa..215202c67 100644 --- a/redback/priors/basic_magnetar_powered.prior +++ b/redback/priors/basic_magnetar_powered.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') -p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$p_{0} [ms]$') -bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}$ [10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}} [M_{\odot}]$') -theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{P-B}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}}~(M_\odot)$') +theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}~({\mathrm{rad}})$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_{\odot})$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/basic_magnetar_powered_bolometric.prior b/redback/priors/basic_magnetar_powered_bolometric.prior index 34dff5b46..6875a7637 100644 --- a/redback/priors/basic_magnetar_powered_bolometric.prior +++ b/redback/priors/basic_magnetar_powered_bolometric.prior @@ -1,8 +1,8 @@ -p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$p_{0} [ms]$') -bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}$ [10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}} [M_{\odot}]$') -theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{P-B}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}$ [km/s]') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') +p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}}~(M_\odot)$') +theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}~({\mathrm{rad}})$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_{\odot})$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/basic_mergernova.prior b/redback/priors/basic_mergernova.prior index fdcbf4660..0ce84ed06 100644 --- a/redback/priors/basic_mergernova.prior +++ b/redback/priors/basic_mergernova.prior @@ -1,11 +1,11 @@ redshift = Uniform(1e-6, 0.1, 'redshift', latex_label = r'$z$') -ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}} [c]$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$m_{\mathrm{ism}}$') -p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$p_{0} [ms]$') -bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}$ [10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M [M_{\odot}]$') -theta_pb = Uniform(0, 1.57, 'theta_pb', latex_label = r'$\theta_{\mathrm{PB}}$') -thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label='$\epsilon_{\mathrm{th}}$') \ No newline at end of file +ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}~({\mathrm{cm}})$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}}~(c)$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$n_{\mathrm{ism}}~({\mathrm{cm}}^{-3})$') +p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}}~(M_\odot)$') +theta_pb = Uniform(0, 1.57, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}~({\mathrm{rad}})$') +thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label=r'$\\epsilon_{\mathrm{th}}$') \ No newline at end of file diff --git a/redback/priors/bulla_bns_kilonova.prior b/redback/priors/bulla_bns_kilonova.prior index cea2f63cc..65233ebf9 100644 --- a/redback/priors/bulla_bns_kilonova.prior +++ b/redback/priors/bulla_bns_kilonova.prior @@ -1,5 +1,5 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej_dyn = Uniform(0.001, 0.02, 'mej_dyn', latex_label = r'$M_{\mathrm{ej-dyn}} [M_{\odot}]$') -mej_disk = Uniform(0.01, 0.13, 'mej_disk', latex_label = r'$M_{\mathrm{ej-disk}} [M_{\odot}]$') -phi = Uniform(0,90, 'phi', latex_label = r'$\phi$') -costheta_obs = Uniform(0,1, 'costheta_obs', latex_label = r'$\cos\theta_{\mathrm{obs}}$') \ No newline at end of file +mej_dyn = Uniform(0.001, 0.02, 'mej_dyn', latex_label = r'$M_{\mathrm{ej-dyn}}~(M_{\odot})$') +mej_disk = Uniform(0.01, 0.13, 'mej_disk', latex_label = r'$M_{\mathrm{ej-disk}}~(M_{\odot})$') +phi = Uniform(0,90, 'phi', latex_label = r'$\\phi~(^\circ)$') +costheta_obs = Uniform(0,1, 'costheta_obs', latex_label = r'$\cos~\\theta_{\mathrm{obs}}$') \ No newline at end of file diff --git a/redback/priors/bulla_nsbh_kilonova.prior b/redback/priors/bulla_nsbh_kilonova.prior index 5b7765e5e..ee08fbbff 100644 --- a/redback/priors/bulla_nsbh_kilonova.prior +++ b/redback/priors/bulla_nsbh_kilonova.prior @@ -1,4 +1,4 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej_dyn = Uniform(0.01, 0.09, 'mej_dyn', latex_label = r'$M_{\mathrm{ej-dyn}} [M_{\odot}]$') -mej_disk = Uniform(0.01, 0.09, 'mej_disk', latex_label = r'$M_{\mathrm{ej-disk}} [M_{\odot}]$') -costheta_obs = Uniform(0,1, 'costheta_obs', latex_label = r'$\cos\theta_{\mathrm{obs}}$') \ No newline at end of file +mej_dyn = Uniform(0.01, 0.09, 'mej_dyn', latex_label = r'$M_{\mathrm{ej-dyn}}~(M_{\odot})$') +mej_disk = Uniform(0.01, 0.09, 'mej_disk', latex_label = r'$M_{\mathrm{ej-disk}}~(M_{\odot})$') +costheta_obs = Uniform(0,1, 'costheta_obs', latex_label = r'$\cos~\\theta_{\mathrm{obs}}$') \ No newline at end of file diff --git a/redback/priors/cocoon.prior b/redback/priors/cocoon.prior index 62bf039b1..97edddcc2 100644 --- a/redback/priors/cocoon.prior +++ b/redback/priors/cocoon.prior @@ -1,13 +1,13 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') umax = Uniform(0.15, 0.7, 'umax', latex_label=r'$U_{\mathrm{max}}$') umin = Uniform(0.1, 0.15, 'umin', latex_label=r'$U_{\mathrm{min}}$') -loge0 = Uniform(45, 50, 'loge0', latex_label=r'$\log_{10} E_{i}$') +loge0 = Uniform(45, 50, 'loge0', latex_label=r'$\log_{10}~E_{i} / {\mathrm{erg}}$') k = Uniform(0.5, 4, 'k', latex_label=r'$k$') -mej = Uniform(1e-3, 0.07, 'mej', latex_label=r'Ejecta mass$M_{\odot}$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +mej = Uniform(1e-3, 0.07, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}} / {\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(1,100, 'g0', latex_label=r'$\Gamma_{0}$') +g0 = Uniform(1,100, 'g0', latex_label=r'$\\Gamma_{0}$') #max_energy = Constraint(minimum=1e50,maximum=6e51) diff --git a/redback/priors/collapsing_magnetar.prior b/redback/priors/collapsing_magnetar.prior index bb9d8f9ab..a147edef7 100644 --- a/redback/priors/collapsing_magnetar.prior +++ b/redback/priors/collapsing_magnetar.prior @@ -1,6 +1,6 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') -tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') +tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau~({\mathrm{s}})$') nn = Uniform(1.1, 7, 'nn', latex_label= r'$n$') -tcol = LogUniform(10, 1e8, 'tcol', latex_label= r'$t_\mathrm{col}$') +tcol = LogUniform(10, 1e8, 'tcol', latex_label= r'$t_{\mathrm{col}}~({\mathrm{s}})$') diff --git a/redback/priors/collapsing_radiative_losses.prior b/redback/priors/collapsing_radiative_losses.prior index f41243a10..ec11c6176 100644 --- a/redback/priors/collapsing_radiative_losses.prior +++ b/redback/priors/collapsing_radiative_losses.prior @@ -3,7 +3,7 @@ alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') nn = Uniform(1.1, 7, 'nn', latex_label= r'$n$') -tcol = LogUniform(10, 1e8, 'tcol', latex_label= r'$t_\mathrm{col}$') -kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\kappa$') -t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}$') -log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10} E_{0}$') \ No newline at end of file +tcol = LogUniform(10, 1e8, 'tcol', latex_label= r'$t_{\mathrm{col}}~({\mathrm{s}})$') +kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}~({\mathrm{s}})$') +log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10}~E_{0} / {\mathrm{erg}}$') \ No newline at end of file diff --git a/redback/priors/cone_afterglow.prior b/redback/priors/cone_afterglow.prior index 7712e2e2e..d5677aa45 100644 --- a/redback/priors/cone_afterglow.prior +++ b/redback/priors/cone_afterglow.prior @@ -1,12 +1,12 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') -thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}$') -loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10} E_{0}$') -thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}$') +thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}~({\mathrm{rad}})$') +loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10}~E_{0}/{\mathrm{erg}}$') +thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}~({\mathrm{rad}})$') thw = Uniform(1, 8, 'thw', latex_label=r'$\\theta_{\mathrm{truncation}}$') beta = Uniform(0.5, 10, 'beta', latex_label=r'$\\beta$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}}/{\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(100,2000, 'g0', latex_label=r'$\Gamma_{0}$') \ No newline at end of file +g0 = Uniform(100,2000, 'g0', latex_label=r'$\\Gamma_{0}$') \ No newline at end of file diff --git a/redback/priors/csm_interaction.prior b/redback/priors/csm_interaction.prior index fed178c62..e802c501a 100644 --- a/redback/priors/csm_interaction.prior +++ b/redback/priors/csm_interaction.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -csm_mass = LogUniform(1e-4, 100, 'csm_mass', latex_label = r'$M_{\mathrm{csm}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -eta = Uniform(0, 1, 'eta', latex_label = r'$\\eta$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +csm_mass = LogUniform(1e-4, 100, 'csm_mass', latex_label = r'$M_{\mathrm{csm}}~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +eta = Uniform(0, 1, '\\eta', latex_label = r'$\\eta$') rho = Uniform(8, 12, 'rho', latex_label = r'$\\rho$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -r0 = Uniform(4, 8, 'r0', latex_label=r'$r_0$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +r0 = Uniform(4, 8, 'r0', latex_label=r'$r_0~({\mathrm{AU}})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/csm_nickel.prior b/redback/priors/csm_nickel.prior index 17e3fa45f..ac3f55094 100644 --- a/redback/priors/csm_nickel.prior +++ b/redback/priors/csm_nickel.prior @@ -1,11 +1,11 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -csm_mass = LogUniform(1e-4, 100, 'csm_mass', latex_label = r'$M_{\mathrm{csm}} [M_{\odot}]$') -ek = LogUniform(1e48, 1e52, 'ek', latex_label = r'$E_{\mathrm{k}} [erg]$') -eta = Uniform(0, 1, 'eta', latex_label = r'$\\eta$') +csm_mass = LogUniform(1e-4, 100, 'csm_mass', latex_label = r'$M_{\mathrm{csm}}~(M_\odot)$') +ek = LogUniform(1e48, 1e52, 'ek', latex_label = r'$E_{\mathrm{kin}}~(\mathrm{ erg})$') +eta = Uniform(0, 1, '\\eta', latex_label = r'$\\eta$') rho = Uniform(8, 12, 'rho', latex_label = r'$\\rho$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -r0 = Uniform(4, 8, 'r0', latex_label=r'$r_0$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +r0 = Uniform(4, 8, 'r0', latex_label=r'$r_0~({\mathrm{AU}})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/evolving_magnetar.prior b/redback/priors/evolving_magnetar.prior index 3522c1bd7..233e723f6 100644 --- a/redback/priors/evolving_magnetar.prior +++ b/redback/priors/evolving_magnetar.prior @@ -1,8 +1,8 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$a_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') -p0 = Uniform(0.7e-3, 1, 'p0', latex_label = r'$P_{0} [s]$') -mu0 = Uniform(1e-3, 10, 'mu0', latex_label = r'$\mu_{0} [10^{33} G cm^{3}]$') -muinf = Uniform(1e-3, 10, 'muinf', latex_label = r'$\mu_{\inf} [10^{33} G cm^3]$') -sinalpha0 = Uniform(1e-3, 0.99, 'sinalpha0', latex_label = r'$\sin\\alpha_{0}$') -tm = Uniform(1e-3, 100, 'tm', latex_label = r'$t_{m} [days]$') -II = LogUniform(1e45, 1e46, 'II', latex_label = r'$I$') +p0 = Uniform(0.7e-3, 1, 'p0', latex_label = r'$P_{0}~(\mathrm{s})$') +mu0 = Uniform(1e-3, 10, 'mu0', latex_label = r'$\mu_{0}~(10^{33}~\mathrm{G}_{ }\,\mathrm{cm}^{3})$') +muinf = Uniform(1e-3, 10, 'muinf', latex_label = r'$\mu_{\inf}~(10^{33}~\mathrm{G}_{ }\,\mathrm{cm}^{3})$') +sinalpha0 = Uniform(1e-3, 0.99, 'sinalpha0', latex_label = r'$\sin~\\alpha_{0}$') +tm = Uniform(1e-3, 100, 'tm', latex_label = r'$t_{m}~(\mathrm{day})$') +II = LogUniform(1e45, 1e46, 'II', latex_label = r'$I~({\mathrm{g_{}cm}})^2$') diff --git a/redback/priors/evolving_magnetar_only.prior b/redback/priors/evolving_magnetar_only.prior index 50e123ffd..afbe15b82 100644 --- a/redback/priors/evolving_magnetar_only.prior +++ b/redback/priors/evolving_magnetar_only.prior @@ -1,6 +1,6 @@ -p0 = Uniform(0.7e-3, 1, 'p0', latex_label = r'$P_{0} [s]$') -mu0 = Uniform(1e-3, 10, 'mu0', latex_label = r'$\mu_{0} [10^{33} G cm^{3}]$') -muinf = Uniform(1e-3, 10, 'muinf', latex_label = r'$\mu_{\inf} [10^{33} G cm^3]$') -sinalpha0 = Uniform(1e-3, 0.99, 'sinalpha0', latex_label = r'$\sin\\alpha_{0}$') -tm = Uniform(1e-3, 100, 'tm', latex_label = r'$t_{m} [days]$') -II = LogUniform(1e45, 1e46, 'II', latex_label = r'$I$') +p0 = Uniform(0.7e-3, 1, 'p0', latex_label = r'$P_{0}~(\mathrm{s})$') +mu0 = Uniform(1e-3, 10, 'mu0', latex_label = r'$\mu_{0}~(10^{33}~\mathrm{G}_{ }\,\mathrm{cm}^{3})$') +muinf = Uniform(1e-3, 10, 'muinf', latex_label = r'$\mu_{\inf}~(10^{33}~\mathrm{G}_{ }\,\mathrm{cm}^{3})$') +sinalpha0 = Uniform(1e-3, 0.99, 'sinalpha0', latex_label = r'$\sin~\\alpha_{0}$') +tm = Uniform(1e-3, 100, 'tm', latex_label = r'$t_{m}~(\mathrm{day})$') +II = LogUniform(1e45, 1e46, 'II', latex_label = r'$I~({\mathrm{g_{}\,cm}})^2$') diff --git a/redback/priors/exponential_powerlaw_bolometric.prior b/redback/priors/exponential_powerlaw_bolometric.prior index 513ba502d..ec3cb1c8c 100644 --- a/redback/priors/exponential_powerlaw_bolometric.prior +++ b/redback/priors/exponential_powerlaw_bolometric.prior @@ -1,8 +1,8 @@ -lbol_0 = LogUniform(1e36,1e48,name='lbol_0', latex_label = r'$L_{\mathrm{bol}~0}$') +lbol_0 = LogUniform(1e36,1e48,name='lbol_0', latex_label = r'$L_{\mathrm{bol}~0}~({\mathrm{erg/s}})$') alpha_1 = Uniform(0,10,name='alpha_1',latex_label='$\\alpha_{1}$') alpha_2 = Uniform(0,10,name='alpha_2',latex_label='$\\alpha_{2}$') -tpeak_d = LogUniform(0.001,200,name='tpeak', latex_label = r'$t_{\mathrm{peak}}$~[days]') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') \ No newline at end of file +tpeak_d = LogUniform(0.001,200,name='tpeak', latex_label = r'$t_{\mathrm{peak}}~({\mathrm{day}})$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/five_component_powerlaw.prior b/redback/priors/five_component_powerlaw.prior index d4e37b3c9..5eda1e8a6 100644 --- a/redback/priors/five_component_powerlaw.prior +++ b/redback/priors/five_component_powerlaw.prior @@ -1,10 +1,10 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') -delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\Delta_{ } t_{1}$') +delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\\Delta_{ }t_{1}$') alpha_2 = Uniform(-10, 0, 'alpha_2', latex_label = r'$\\alpha_{2}$') -delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\Delta_{ } t_{2}$') +delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\\Delta_{ }t_{2}$') alpha_3 = Uniform(-10, 0, 'alpha_3', latex_label = r'$\\alpha_{3}$') -delta_time_three = LogUniform(1e-10, 1e6, 'delta_time_three', latex_label = r'$\Delta_{ } t_{3}$') +delta_time_three = LogUniform(1e-10, 1e6, 'delta_time_three', latex_label = r'$\\Delta_{ }t_{3}$') alpha_4 = Uniform(-10, 0, 'alpha_4', latex_label = r'$\\alpha_{4}$') -delta_time_four = LogUniform(1e-10, 1e6, 'delta_time_four', latex_label = r'$\Delta_{ } t_{4}$') +delta_time_four = LogUniform(1e-10, 1e6, 'delta_time_four', latex_label = r'$\\Delta_{ }t_{4}$') alpha_5 = Uniform(-10, 0, 'alpha_5', latex_label = r'$\\alpha_{5}$') diff --git a/redback/priors/four_component_powerlaw.prior b/redback/priors/four_component_powerlaw.prior index 418607ca1..3487a6251 100644 --- a/redback/priors/four_component_powerlaw.prior +++ b/redback/priors/four_component_powerlaw.prior @@ -1,8 +1,8 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') -delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\Delta_{ } t_{1}$') +delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\\Delta_{ }t_{1}$') alpha_2 = Uniform(-10, 0, 'alpha_2', latex_label = r'$\\alpha_{2}$') -delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\Delta_{ } t_{2}$') +delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\\Delta_{ }t_{2}$') alpha_3 = Uniform(-10, 0, 'alpha_3', latex_label = r'$\\alpha_{3}$') -delta_time_three = LogUniform(1e-10, 1e6, 'delta_time_three', latex_label = r'$\Delta_{ } t_{3}$') +delta_time_three = LogUniform(1e-10, 1e6, 'delta_time_three', latex_label = r'$\\Delta_{ }t_{3}$') alpha_4 = Uniform(-10, 0, 'alpha_4', latex_label = r'$\\alpha_{4}$') diff --git a/redback/priors/gaussian.prior b/redback/priors/gaussian.prior index 5be0f655e..1bd41c0e1 100644 --- a/redback/priors/gaussian.prior +++ b/redback/priors/gaussian.prior @@ -1,11 +1,11 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') -thv = Sine(name='thV', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}$') -loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10} E_{0}$') -thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}$') +thv = Sine(name='thV', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}~({\mathrm{rad}})$') +loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10}~E_{0}/{\mathrm{erg}}$') +thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}~({\mathrm{rad}})$') thw = Uniform(1, 8, 'thw', latex_label=r'$\\theta_{\mathrm{truncation}}$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}}/{\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(100,2000, 'g0', latex_label=r'$\Gamma_{0}$') +g0 = Uniform(100,2000, 'g0', latex_label=r'$\\Gamma_{0}$') diff --git a/redback/priors/gaussiancore.prior b/redback/priors/gaussiancore.prior index 620bf4475..527ea1171 100644 --- a/redback/priors/gaussiancore.prior +++ b/redback/priors/gaussiancore.prior @@ -1,11 +1,11 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') -thv = Sine(maximum=np.pi/2, name='thv', latex_label=r'$\\theta_{\mathrm{observer}}$') -loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10} E_{0}$') -thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}$') +thv = Sine(maximum=np.pi/2, name='thv', latex_label=r'$\\theta_{\mathrm{observer}}~({\mathrm{rad}})$') +loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10}~E_{0}/{\mathrm{erg}}$') +thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}~({\mathrm{rad}})$') thw = Uniform(1, 8, 'thw', latex_label=r'$\\theta_{\mathrm{truncation}}$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}}/{\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(100,2000, 'g0', latex_label=r'$\Gamma_{0}$') +g0 = Uniform(100,2000, 'g0', latex_label=r'$\\Gamma_{0}$') diff --git a/redback/priors/gaussianrise_metzger_tde.prior b/redback/priors/gaussianrise_metzger_tde.prior new file mode 100644 index 000000000..1b66771d9 --- /dev/null +++ b/redback/priors/gaussianrise_metzger_tde.prior @@ -0,0 +1,12 @@ +redshift = Uniform(1e-6, 3, 'redshift', latex_label = r'$z$') +peak_time = LogUniform(0.1,60, name='peak_time', latex_label = r'$t_{\mathrm{peak}}~(\mathrm{day})$') +sigma_t = LogUniform(10,60, name='sigma_t', latex_label = r'$\\sigma~(\mathrm{day})$') +mbh_6 = LogUniform(0.01, 20, name='mbh_6', latex_label = r'$M_{\mathrm{BH}}~(10^{6}~M_\odot)$') +stellar_mass = LogUniform(0.1, 10, name='stellar_mass', latex_label = r'$M_{\mathrm{star}}~(M_\odot)$') +beta = LogUniform(1e-4, 0.1, name='beta', latex_label=r'$\\beta$') +alpha = LogUniform(0.1, 1, name='alpha', latex_label=r'$\\alpha$') +beta = LogUniform(0.5, 1, name='beta', latex_label=r'$\\beta$') +beta = 0.9 +beta = 0.1 +alpha = 0.1 +mbh_6 = 1 \ No newline at end of file diff --git a/redback/priors/gaussianrise_metzger_tde_bolometric.prior b/redback/priors/gaussianrise_metzger_tde_bolometric.prior new file mode 100644 index 000000000..ed827124a --- /dev/null +++ b/redback/priors/gaussianrise_metzger_tde_bolometric.prior @@ -0,0 +1,11 @@ +peak_time = LogUniform(0.1,60, name='peak_time', latex_label = r'$t_{\mathrm{peak}}~(\mathrm{day})$') +sigma_t = LogUniform(10,60, name='sigma_t', latex_label = r'$\\sigma~(\mathrm{day})$') +mbh_6 = LogUniform(0.01, 20, name='mbh_6', latex_label = r'$M_{\mathrm{BH}}~(10^{6}~M_\odot)$') +stellar_mass = LogUniform(0.1, 10, name='stellar_mass', latex_label = r'$M_{\mathrm{star}}~(M_\odot)$') +beta = LogUniform(1e-4, 0.1, name='beta', latex_label=r'$\\beta$') +alpha = LogUniform(0.1, 1, name='alpha', latex_label=r'$\\alpha$') +beta = LogUniform(0.5, 1, name='beta', latex_label=r'$\\beta$') +beta = 0.9 +beta = 0.1 +alpha = 0.1 +mbh_6 = 1 \ No newline at end of file diff --git a/redback/priors/general_magnetar.prior b/redback/priors/general_magnetar.prior index a681a09d6..add4eac7d 100644 --- a/redback/priors/general_magnetar.prior +++ b/redback/priors/general_magnetar.prior @@ -1,5 +1,5 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-5, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') -delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\Delta_{ } t_{1}$') +delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\\Delta_{ }t_{1}$') alpha_2 = Uniform(-10, 0, 'alpha_2', latex_label = r'$\\alpha_{2}$') -delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\Delta_{ } t_{2}$') +delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\\Delta_{ }t_{2}$') diff --git a/redback/priors/general_magnetar_slsn.prior b/redback/priors/general_magnetar_slsn.prior index 3f5a9f1a4..025664a77 100644 --- a/redback/priors/general_magnetar_slsn.prior +++ b/redback/priors/general_magnetar_slsn.prior @@ -1,9 +1,9 @@ redshift = Uniform(1e-6,3,name='redshift', latex_label = r'$z$') -l0 = LogUniform(1e-40, 1e48, 'l0', latex_label = r'$L_{0}$') -tsd = LogUniform(1e2, 1e6, 'tsd', latex_label = r'$\\tau_{sd}$') +l0 = LogUniform(1e-40, 1e48, 'l0', latex_label = r'$L_{0}~({\mathrm{erg/s}})$') +tsd = LogUniform(1e2, 1e6, 'tsd', latex_label = r'$\\tau_{sd}~({\mathrm{s}})$') nn = Uniform(1.1, 7, 'nn', latex_label = r'$n$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_{\odot})$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/general_mergernova.prior b/redback/priors/general_mergernova.prior index 2a3394285..f7b64a181 100644 --- a/redback/priors/general_mergernova.prior +++ b/redback/priors/general_mergernova.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-6, 0.1, 'redshift', latex_label = r'$z$') -ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}} [c]$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$m_{\mathrm{ism}}$') +ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}~({\mathrm{cm}})$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$n_{\mathrm{ism}}~({\mathrm{cm}}^{-3})$') l0 = LogUniform(1e40, 1e50, 'l0', latex_label = r'$l_0$') -tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = '$\\tau_{\mathrm{sd}}$') +tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = r'$\\tau_{\mathrm{sd}}~({\mathrm{s}})$') nn = Uniform(2, 7, 'nn', latex_label='$n$') -thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label='$\epsilon_{\mathrm{th}}$') \ No newline at end of file +thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label=r'$\epsilon_{\mathrm{th}}$') \ No newline at end of file diff --git a/redback/priors/general_mergernova_evolution.prior b/redback/priors/general_mergernova_evolution.prior index 45370e6c3..db5e241f0 100644 --- a/redback/priors/general_mergernova_evolution.prior +++ b/redback/priors/general_mergernova_evolution.prior @@ -1,13 +1,13 @@ redshift = Uniform(1e-6, 0.1, 'redshift', latex_label = r'$z$') -ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}} [c]$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$m_{\mathrm{ism}}$') -logbint = Uniform(14, 18, 'logbint', latex_label = r'$\log_{10} B_{\mathrm{int}} [G]$') -logbext = Uniform(14, 18, 'logbext', latex_label = r'$\log_{10} B_{\mathrm{ext}} [G]$') -p0 = LogUniform(0.7e-3, 10, 'p0', latex_label = r'$p_{0} [s]$') -chi0 = Uniform(0., np.pi/2, 'chi0', latex_label = r'$\chi_{0}$') -radius = Uniform(10, 13, 'radius', latex_label = r'$R [\mathrm{km}]$') -logmoi = Uniform(44, 46, 'logmoi', latex_label = r'$\log_{10} I$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') \ No newline at end of file +ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}~({\mathrm{cm}})$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}}~(c)$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$n_{\mathrm{ism}}~({\mathrm{cm}}^{-3})$') +logbint = Uniform(14, 18, 'logbint', latex_label = r'$\log_{10}~B_{\mathrm{int}}~(\mathrm{G})$') +logbext = Uniform(14, 18, 'logbext', latex_label = r'$\log_{10}~B_{\mathrm{ext}}~(\mathrm{G})$') +p0 = LogUniform(0.7e-3, 10, 'p0', latex_label = r'$P_{0}~(\mathrm{s})$') +chi0 = Uniform(0., np.pi/2, 'chi0', latex_label = r'$\chi_{0}~({\mathrm{rad}})$') +radius = Uniform(10, 13, 'radius', latex_label = r'$R~(\mathrm{km})$') +logmoi = Uniform(44, 46, 'logmoi', latex_label = r'$\log_{10}~I$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/general_mergernova_thermalisation.prior b/redback/priors/general_mergernova_thermalisation.prior index 98f46ab7f..022262e59 100644 --- a/redback/priors/general_mergernova_thermalisation.prior +++ b/redback/priors/general_mergernova_thermalisation.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-6, 0.1, 'redshift', latex_label = r'$z$') -ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}} [c]$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$m_{\mathrm{ism}}$') +ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}~({\mathrm{cm}})$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}}~(c)$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$n_{\mathrm{ism}}~({\mathrm{cm}}^{-3})$') l0 = LogUniform(1e40, 1e50, 'l0', latex_label = r'$l_0$') -tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = '$\\tau_{\mathrm{sd}}$') +tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = r'$\\tau_{\mathrm{sd}}~({\mathrm{s}})$') nn = Uniform(2, 7, 'nn', latex_label='$n$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') \ No newline at end of file +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/general_metzger_magnetar_driven.prior b/redback/priors/general_metzger_magnetar_driven.prior index 39f79be2f..8f2264dff 100644 --- a/redback/priors/general_metzger_magnetar_driven.prior +++ b/redback/priors/general_metzger_magnetar_driven.prior @@ -1,9 +1,9 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') beta = Uniform(3, 5, 'beta', latex_label=r'$\\beta$') -kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\kappa$') +kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') l0 = LogUniform(1e40, 1e50, 'l0', latex_label = r'$l_0$') -tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = '$\\tau_{\mathrm{sd}}$') -nn = Uniform(2, 7, 'nn', latex_label='$n$') -thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label='$\epsilon_{\mathrm{th}}$') \ No newline at end of file +tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = r'$\\tau_{\mathrm{sd}}~({\mathrm{s}})$') +nn = Uniform(2, 7, 'nn', latex_label=r'$n$') +thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label=r'$\epsilon_{\mathrm{th}}$') \ No newline at end of file diff --git a/redback/priors/general_metzger_magnetar_driven_evolution.prior b/redback/priors/general_metzger_magnetar_driven_evolution.prior index 414075d7e..e5eb3260b 100644 --- a/redback/priors/general_metzger_magnetar_driven_evolution.prior +++ b/redback/priors/general_metzger_magnetar_driven_evolution.prior @@ -1,12 +1,12 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') beta = Uniform(3, 5, 'beta', latex_label=r'$\\beta$') -kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\kappa$') -logbint = Uniform(14, 18, 'logbint', latex_label = r'$\log_{10} B_{\mathrm{int}} [G]$') -logbext = Uniform(14, 18, 'logbext', latex_label = r'$\log_{10} B_{\mathrm{ext}} [G]$') -p0 = LogUniform(0.7e-3, 10, 'p0', latex_label = r'$p_{0} [s]$') -chi0 = Uniform(0., np.pi/2, 'chi0', latex_label = r'$\chi_{0}$') -radius = Uniform(10, 13, 'radius', latex_label = r'$R [\mathrm{km}]$') -logmoi = Uniform(44, 46, 'logmoi', latex_label = r'$\log_{10} I$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') \ No newline at end of file +kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +logbint = Uniform(14, 18, 'logbint', latex_label = r'$\log_{10}~B_{\mathrm{int}}~(\mathrm{G})$') +logbext = Uniform(14, 18, 'logbext', latex_label = r'$\log_{10}~B_{\mathrm{ext}}~(\mathrm{G})$') +p0 = LogUniform(0.7e-3, 10, 'p0', latex_label = r'$P_{0}~(\mathrm{s})$') +chi0 = Uniform(0., np.pi/2, 'chi0', latex_label = r'$\chi_{0}~({\mathrm{rad}})$') +radius = Uniform(10, 13, 'radius', latex_label = r'$R~(\mathrm{km})$') +logmoi = Uniform(44, 46, 'logmoi', latex_label = r'$\log_{10}~I$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/general_metzger_magnetar_driven_thermalisation.prior b/redback/priors/general_metzger_magnetar_driven_thermalisation.prior index f1bbde752..b70945355 100644 --- a/redback/priors/general_metzger_magnetar_driven_thermalisation.prior +++ b/redback/priors/general_metzger_magnetar_driven_thermalisation.prior @@ -1,9 +1,9 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') beta = Uniform(3, 5, 'beta', latex_label=r'$\\beta$') -kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\kappa$') +kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') l0 = LogUniform(1e40, 1e50, 'l0', latex_label = r'$l_0$') -tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = '$\\tau_{\mathrm{sd}}$') +tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = '$\\tau_{\mathrm{sd}}~({\mathrm{s}})$') nn = Uniform(2, 7, 'nn', latex_label='$n$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') \ No newline at end of file +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/gw_magnetar.prior b/redback/priors/gw_magnetar.prior index b9d987c8e..ec6eddf96 100644 --- a/redback/priors/gw_magnetar.prior +++ b/redback/priors/gw_magnetar.prior @@ -1,6 +1,6 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') fgw0 = LogUniform(100, 3000, 'fgw0', latex_label = r'$f_{gw-0}$') -tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') +tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau~({\mathrm{s}})$') nn = Uniform(1.1, 7, 'nn', latex_label = r'$n$') -log_ii = Uniform(44, 46, 'log_ii', latex_label = r'$\log_{10}I$') \ No newline at end of file +log_ii = Uniform(44, 46, 'log_ii', latex_label = r'$\log_{10}~I / ({\mathrm{g\,cm}}^{2})$') \ No newline at end of file diff --git a/redback/priors/homologous_expansion_supernova.prior b/redback/priors/homologous_expansion_supernova.prior index 924bd9ce2..440b78fcc 100644 --- a/redback/priors/homologous_expansion_supernova.prior +++ b/redback/priors/homologous_expansion_supernova.prior @@ -1,7 +1,7 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -ek = LogUniform(1e48, 1e52, 'ek', latex_label = r'$E_{\mathrm{k}} [erg]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +ek = LogUniform(1e48, 1e52, 'ek', latex_label = r'$E_{\mathrm{kin}}~(\mathrm{erg})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/kasen_bns_kilonova.prior b/redback/priors/kasen_bns_kilonova.prior index 9ef0c1d0c..70c9cf0b5 100644 --- a/redback/priors/kasen_bns_kilonova.prior +++ b/redback/priors/kasen_bns_kilonova.prior @@ -1,4 +1,4 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') -chi = Uniform(0,1, 'chi', latex_label = r'$\chi$') \ No newline at end of file +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') +chi = Uniform(0,1, 'chi', latex_label = r'$\\chi~({\mathrm{rad}})$') \ No newline at end of file diff --git a/redback/priors/kilonova_afterglow.prior b/redback/priors/kilonova_afterglow.prior index 0fc8a4a7b..1d8ee94ea 100644 --- a/redback/priors/kilonova_afterglow.prior +++ b/redback/priors/kilonova_afterglow.prior @@ -1,13 +1,13 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') umax = Uniform(0.15, 0.7, 'umax', latex_label=r'$U_{\mathrm{max}}$') umin = Uniform(0.1, 0.15, 'umin', latex_label=r'$U_{\mathrm{min}}$') -loge0 = Uniform(45, 50, 'loge0', latex_label=r'$\log_{10} E_{i}$') +loge0 = Uniform(45, 50, 'loge0', latex_label=r'$\log_{10}~E_{i}/{\mathrm{erg}}$') k = Uniform(0.5, 4, 'k', latex_label=r'$k$') -mej = Uniform(1e-3, 0.07, 'mej', latex_label=r'Ejecta mass$M_{\odot}$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +mej = Uniform(1e-3, 0.07, 'mej', latex_label=r'$M_{\mathrm{ej}}~(M_\odot)$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}}/{\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(1,4, 'g0', latex_label=r'$\Gamma_{0}$') +g0 = Uniform(1,4, 'g0', latex_label=r'$\\Gamma_{0}$') #max_energy = Constraint(minimum=1e50,maximum=6e51) diff --git a/redback/priors/magnetar_luminosity_evolution.prior b/redback/priors/magnetar_luminosity_evolution.prior index 4aa990185..ea30850fe 100644 --- a/redback/priors/magnetar_luminosity_evolution.prior +++ b/redback/priors/magnetar_luminosity_evolution.prior @@ -1,6 +1,6 @@ -logbint = Uniform(14, 18, 'logbint', latex_label = r'$\log_{10} B_{\mathrm{int}} [G]$') -logbext = Uniform(14, 18, 'logbext', latex_label = r'$\log_{10} B_{\mathrm{ext}} [G]$') -p0 = LogUniform(0.7e-3, 10e-3, 'p0', latex_label = r'$p_{0} [s]$') -chi0 = Uniform(0., np.pi/2, 'chi0', latex_label = r'$\chi_{0}$') -radius = Uniform(10, 13, 'radius', latex_label = r'$R [\mathrm{km}]$') -logmoi = Uniform(44, 46, 'logmoi', latex_label = r'$\log_{10} I$') \ No newline at end of file +logbint = Uniform(14, 18, 'logbint', latex_label = r'$\log_{10}~B_{\mathrm{int}}~(\mathrm{G})$') +logbext = Uniform(14, 18, 'logbext', latex_label = r'$\log_{10}~B_{\mathrm{ext}}~(\mathrm{G})$') +p0 = LogUniform(0.7e-3, 10e-3, 'p0', latex_label = r'$P_{0}~(\mathrm{s})$') +chi0 = Uniform(0., np.pi/2, 'chi0', latex_label = r'$\chi_{0}~({\mathrm{rad}})$') +radius = Uniform(10, 13, 'radius', latex_label = r'$R~(\mathrm{km})$') +logmoi = Uniform(44, 46, 'logmoi', latex_label = r'$\log_{10}~I / ({\mathrm{g\,cm}^{2}})$') \ No newline at end of file diff --git a/redback/priors/magnetar_nickel.prior b/redback/priors/magnetar_nickel.prior index feaa2a000..8b7a62c19 100644 --- a/redback/priors/magnetar_nickel.prior +++ b/redback/priors/magnetar_nickel.prior @@ -1,11 +1,11 @@ redshift = Uniform(1e-6,3,name='redshift', latex_label = r'$z$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -p0 = Uniform(1, 10, 'p0', latex_label = r'$P_{0}$ [ms]') -bp = LogUniform(0.1,10,'bp',latex_label = r'$B_{p}$~[10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}} [M_{\odot}]$') -theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{P-B}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = Uniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}}~(M_\odot)$') +theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}~({\mathrm{rad}})$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_{\odot})$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/magnetar_only.prior b/redback/priors/magnetar_only.prior index 3ae17a8e5..de73876a7 100644 --- a/redback/priors/magnetar_only.prior +++ b/redback/priors/magnetar_only.prior @@ -1,3 +1,3 @@ l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') -tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') +tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau~({\mathrm{s}})$') nn = Uniform(1.1, 7, 'nn', latex_label = r'$n$') diff --git a/redback/priors/metzger_kilonova_model.prior b/redback/priors/metzger_kilonova_model.prior index b10489044..a1332d43e 100644 --- a/redback/priors/metzger_kilonova_model.prior +++ b/redback/priors/metzger_kilonova_model.prior @@ -1,5 +1,5 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') +mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') beta = Uniform(3, 5, 'beta', latex_label=r'$\\beta$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') diff --git a/redback/priors/metzger_magnetar_driven_kilonova_model.prior b/redback/priors/metzger_magnetar_driven_kilonova_model.prior index d666cab41..db5eeaf44 100644 --- a/redback/priors/metzger_magnetar_driven_kilonova_model.prior +++ b/redback/priors/metzger_magnetar_driven_kilonova_model.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') beta = Uniform(3, 5, 'beta', latex_label=r'$\\beta$') -kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\kappa$') -p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$p_{0} [ms]$') -bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}$ [10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M [M_{\odot}]$') -theta_pb = Uniform(0, 1.57, 'theta_pb', latex_label = r'$\theta_{\mathrm{PB}}$') +kappa_r = Uniform(1, 30, 'kappa_r', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +p0 = LogUniform(0.7, 10e3, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(1e-4,1e4,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M~(M_\odot)$') +theta_pb = Uniform(0, 1.57, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}$') thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label='$\epsilon_{\mathrm{th}}$') diff --git a/redback/priors/metzger_tde.prior b/redback/priors/metzger_tde.prior new file mode 100644 index 000000000..fe2fdf3e7 --- /dev/null +++ b/redback/priors/metzger_tde.prior @@ -0,0 +1,10 @@ +redshift = Uniform(1e-6, 3, 'redshift', latex_label = r'$z$') +mbh_6 = LogUniform(0.01, 20, name='mbh_6', latex_label = r'$M_{\mathrm{BH}}~(10^{6}~M_\odot)$') +stellar_mass = LogUniform(0.1, 10, name='stellar_mass', latex_label = r'$M_{\mathrm{star}}~(M_\odot)$') +eta = LogUniform(1e-4, 0.1, name='eta', latex_label=r'$\\eta$') +alpha = LogUniform(0.1, 1, name='alpha', latex_label=r'$\\alpha$') +beta = LogUniform(0.5, 1, name='beta', latex_label=r'$\\beta$') +beta = 0.9 +beta = 0.1 +alpha = 0.1 +mbh_6 = 1 \ No newline at end of file diff --git a/redback/priors/mosfit_kilonova.prior b/redback/priors/mosfit_kilonova.prior index 581064c49..452a4a0af 100644 --- a/redback/priors/mosfit_kilonova.prior +++ b/redback/priors/mosfit_kilonova.prior @@ -1,14 +1,14 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej_1 = Uniform(1e-2, 0.03, 'mej_1', latex_label = r'$M_{\mathrm{ej}-1} [M_{\odot}]$') -vej_1 = Uniform(0.1, 0.4, 'vej_1', latex_label = r'$v_{\mathrm{ej}-1} [c]$') -kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\kappa_{1}$') -temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_1', latex_label = r'$T_{\mathrm{floor}-1}$') -mej_2 = Uniform(1e-2, 0.03, 'mej_2', latex_label = r'$M_{\mathrm{ej}-2} [M_{\odot}]$') -vej_2 = Uniform(0.1, 0.4, 'vej_2', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_{2}$') -temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-2}$') -mej_3 = Uniform(1e-2, 0.03, 'mej_2', latex_label = r'$M_{\mathrm{ej}-2} [M_{\odot}]$') -vej_3 = Uniform(0.1, 0.7, 'vej_2', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa_3 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_{2}$') -temperature_floor_3 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-3}$') -kappa_gamma = DeltaFunction(10, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') \ No newline at end of file +mej_1 = Uniform(1e-2, 0.03, 'mej_1', latex_label = r'$M_{\mathrm{ej}~1}~(M_\odot)$') +vej_1 = Uniform(0.1, 0.4, 'vej_1', latex_label = r'$v_{\mathrm{ej}~1}~(c)$') +kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\\kappa_{1}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_1', latex_label = r'$T_{\mathrm{floor}~1}~({\mathrm{K}})$') +mej_2 = Uniform(1e-2, 0.03, 'mej_2', latex_label = r'$M_{\mathrm{ej}~2}~(M_\odot)$') +vej_2 = Uniform(0.1, 0.4, 'vej_2', latex_label = r'$v_{\mathrm{ej}~2}~(c)$') +kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_{2}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}~2}~({\mathrm{K}})$') +mej_3 = Uniform(1e-2, 0.03, 'mej_2', latex_label = r'$M_{\mathrm{ej}~2}~(M_\odot)$') +vej_3 = Uniform(0.1, 0.7, 'vej_2', latex_label = r'$v_{\mathrm{ej}~2}~(c)$') +kappa_3 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_{2}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor_3 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}~3}~({\mathrm{K}})$') +kappa_gamma = DeltaFunction(10, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/mosfit_rprocess.prior b/redback/priors/mosfit_rprocess.prior index 8fce1fca5..d6726073f 100644 --- a/redback/priors/mosfit_rprocess.prior +++ b/redback/priors/mosfit_rprocess.prior @@ -1,6 +1,6 @@ redshift = Uniform(1e-6, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = DeltaFunction(10, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$') \ No newline at end of file +mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = DeltaFunction(10, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/nicholl_bns.prior b/redback/priors/nicholl_bns.prior index b1c1d693c..2841cc6ad 100644 --- a/redback/priors/nicholl_bns.prior +++ b/redback/priors/nicholl_bns.prior @@ -1,15 +1,15 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'mass$_1$') -mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'mass$_2$') +mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'$M_1~(M_\odot)$') +mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'$M_2~(M_\odot)$') lambda_s = Uniform(50, 1000, 'lambda_s', latex_label = r'$\Lambda_s$') -kappa_red = Uniform(1e-2, 1, 'kappa_red', latex_label = r'$\kappa_{\mathrm{red}}$') -kappa_blue = Uniform(1, 30, 'kappa_blue', latex_label = r'$\kappa_{\mathrm{blue}}$') -mtov = Uniform(2.05, 2.4, 'mtov', latex_label = r'$M_{\mathrm{TOV}} M\odot$') +kappa_red = Uniform(1e-2, 1, 'kappa_red', latex_label = r'$\\kappa_{\mathrm{red}}~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_blue = Uniform(1, 30, 'kappa_blue', latex_label = r'$\\kappa_{\mathrm{blue}}~(\mathrm{cm}^{2}/\mathrm{g})$') +mtov = Uniform(2.05, 2.4, 'mtov', latex_label = r'$M_{\mathrm{TOV}}~(M_\odot)$') epsilon = Uniform(0.05, 0.6, 'zeta', latex_label = r'$\\epsilon$') alpha = Uniform(0.1, 1, 'alpha', latex_label = r'$\\alpha$') -cos_theta = Uniform(0.0, 1.0, 'cos_theta', latex_label = r'$\cos\theta$') -cos_theta_cocoon = Uniform(0.707, 1.0, 'cos_theta_cocoon', latex_label = r'$\cos\theta_{\mathrm{cocoon}}$') -temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-1}$') -temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-2}$') -temperature_floor_3 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-3}$') -kappa_gamma = DeltaFunction(10, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') +cos_theta = Uniform(0.0, 1.0, 'cos_theta', latex_label = r'$\cos~\\theta$') +cos_theta_cocoon = Uniform(0.707, 1.0, 'cos_theta_cocoon', latex_label = r'$\cos~\\theta_{\mathrm{cocoon}}$') +temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_1', latex_label = r'$T_{\mathrm{floor}~1}$ (K)') +temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}~2}$ (K)') +temperature_floor_3 = LogUniform(100, 6000, 'temperature_floor_3', latex_label = r'$T_{\mathrm{floor}~3}$ (K)') +kappa_gamma = DeltaFunction(10, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') diff --git a/redback/priors/one_component_ejecta_relation.prior b/redback/priors/one_component_ejecta_relation.prior index 6c28dc177..9d14ba87e 100644 --- a/redback/priors/one_component_ejecta_relation.prior +++ b/redback/priors/one_component_ejecta_relation.prior @@ -1,7 +1,7 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'mass$_1$') -mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'mass$_2$') -lambda_1 = Uniform(0, 5000, 'lambda_1', latex_label = r'$\\Lambda_1$') -lambda_2 = Uniform(0, 5000, 'lambda_2', latex_label = r'$\\Lambda_2$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$') \ No newline at end of file +mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'$M_1~(M_\odot)$') +mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'$M_2~(M_\odot)$') +lambda_1 = Uniform(0, 5000, 'lambda_1', latex_label = r'$\Lambda_1$') +lambda_2 = Uniform(0, 5000, 'lambda_2', latex_label = r'$\Lambda_2$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/one_component_ejecta_relation_projection.prior b/redback/priors/one_component_ejecta_relation_projection.prior index 6c28dc177..4dc2c6b7d 100644 --- a/redback/priors/one_component_ejecta_relation_projection.prior +++ b/redback/priors/one_component_ejecta_relation_projection.prior @@ -1,7 +1,7 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'mass$_1$') -mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'mass$_2$') -lambda_1 = Uniform(0, 5000, 'lambda_1', latex_label = r'$\\Lambda_1$') -lambda_2 = Uniform(0, 5000, 'lambda_2', latex_label = r'$\\Lambda_2$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$') \ No newline at end of file +mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'$M_1~(M_\odot)$') +mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'$M_2~(M_\odot)$') +lambda_1 = Uniform(0, 5000, 'lambda_1', latex_label = r'$\Lambda_1$') +lambda_2 = Uniform(0, 5000, 'lambda_2', latex_label = r'$\Lambda_2$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/one_component_kilonova_model.prior b/redback/priors/one_component_kilonova_model.prior index 5320f81b1..4956d4664 100644 --- a/redback/priors/one_component_kilonova_model.prior +++ b/redback/priors/one_component_kilonova_model.prior @@ -1,5 +1,5 @@ redshift = Uniform(1e-6, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$') +mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = Uniform(0.1, 0.5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/one_component_nsbh_ejecta_relation.prior b/redback/priors/one_component_nsbh_ejecta_relation.prior index 28f360e85..0c78c0992 100644 --- a/redback/priors/one_component_nsbh_ejecta_relation.prior +++ b/redback/priors/one_component_nsbh_ejecta_relation.prior @@ -1,7 +1,7 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mass_bh = Uniform(2.5, 35, 'mass_bh', latex_label = r'mass$_1$') -mass_ns = Uniform(1.1, 2.1, 'mass_ns', latex_label = r'mass$_2$') -chi_eff = Uniform(0, 1, 'chi_eff', latex_label = r'$\\chi_{\mathrm{eff}}$') -lambda_ns = Uniform(0, 5000, 'lambda_2', latex_label = r'$\\Lambda_\mathrm{ns}$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$') \ No newline at end of file +mass_bh = Uniform(2.5, 35, 'mass_bh', latex_label = r'$M_1~(M_\odot)$') +mass_ns = Uniform(1.1, 2.1, 'mass_ns', latex_label = r'$M_2~(M_\odot)$') +chi_eff = Uniform(0, 1, 'chi_eff', latex_label = r'$\chi_{\mathrm{eff}}$') +lambda_ns = Uniform(0, 5000, 'lambda_2', latex_label = r'$\Lambda_{\mathrm{NS}}$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(100, 6000, 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/piecewise_radiative_losses.prior b/redback/priors/piecewise_radiative_losses.prior index d5a437e86..e5cb6610f 100644 --- a/redback/priors/piecewise_radiative_losses.prior +++ b/redback/priors/piecewise_radiative_losses.prior @@ -3,5 +3,5 @@ alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') nn = Uniform(1.1, 7, 'nn', latex_label= r'$n$') -kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\kappa$') +kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}$') diff --git a/redback/priors/polytrope_eos_two_component_bns.prior b/redback/priors/polytrope_eos_two_component_bns.prior index 7c1427dc8..bd2041806 100644 --- a/redback/priors/polytrope_eos_two_component_bns.prior +++ b/redback/priors/polytrope_eos_two_component_bns.prior @@ -1,13 +1,13 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'mass$_1$') -mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'mass$_2$') -log_p = Uniform(32.6,33.8,name='log_p',latex_label='$\log_{10} p_0$') +mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'$M_1~(M_\odot)$') +mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'$M_2~(M_\odot)$') +log_p = Uniform(32.6,33.8,name='log_p',latex_label='$\log_{10}~\\rho_0/(\mathrm{g}/\mathrm{cm}^3)$') gamma_1 = Uniform(2,4.5,name='gamma_1',latex_label='$\\Gamma_1$') -gamma_2 = Uniform(2,4.5,name='gamma_2',latex_label='$\\Gamma_1$') -gamma_3 = Uniform(2,4.5,name='gamma_3',latex_label='$\\Gamma_1$') +gamma_2 = Uniform(2,4.5,name='gamma_2',latex_label='$\\Gamma_2$') +gamma_3 = Uniform(2,4.5,name='gamma_3',latex_label='$\\Gamma_3$') zeta = Uniform(0.05, 0.6, 'zeta', latex_label = r'$\\zeta$') -vej_2 = Uniform(0.01, 0.3, 'vej', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\kappa_1$') -kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_1$') -tf_1 = LogUniform(100, 6000, 'tf_1', latex_label = r'$T_{\mathrm{floor}-1}$') -tf_2 = LogUniform(100, 6000, 'tf_2', latex_label = r'$T_{\mathrm{floor}-2}$') \ No newline at end of file +vej_2 = Uniform(0.01, 0.3, 'vej', latex_label = r'$v_{\mathrm{ej}~2}~(c)$') +kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\\kappa_1~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_2~(\mathrm{cm}^{2}/\mathrm{g})$') +tf_1 = LogUniform(100, 6000, 'tf_1', latex_label = r'$T_{\mathrm{floor}~1}~(\mathrm{K})$') +tf_2 = LogUniform(100, 6000, 'tf_2', latex_label = r'$T_{\mathrm{floor}~2}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/power_law_stratified_kilonova.prior b/redback/priors/power_law_stratified_kilonova.prior index c692c4695..d84863347 100644 --- a/redback/priors/power_law_stratified_kilonova.prior +++ b/redback/priors/power_law_stratified_kilonova.prior @@ -1,9 +1,9 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -voffset = Uniform(0.1, 0.4, 'voffset', latex_label = r'$v_{\mathrm{offset}}$') -v0 = DeltaFunction(0.1, 'v0', latex_label = r'$v_0$') +mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +voffset = Uniform(0.1, 0.4, 'voffset', latex_label = r'$v_{\mathrm{offset}}~(c)$') +v0 = DeltaFunction(0.1, 'v0', latex_label = r'$v_0~(c)$') alpha = Uniform(0.5, 8, 'alpha', latex_label = r'$\\alpha$') -kappa_offset = Uniform(0.1, 5, 'kappa_offset', latex_label = r'$\kappa_{\mathrm{offset}}$') -kappa_0 = DeltaFunction(0.1, 'kappa_0', latex_label = r'$\kappa_0$') +kappa_offset = Uniform(0.1, 5, 'kappa_offset', latex_label = r'$\\kappa_{\mathrm{offset}}~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_0 = DeltaFunction(0.1, 'kappa_0', latex_label = r'$\\kappa_0~(\mathrm{cm}^{2}/\mathrm{g})$') zeta = Uniform(0.1, 5, 'zeta', latex_label = r'$\\zeta$') beta = DeltaFunction(4.5, 'beta', latex_label = r'$\\beta$') \ No newline at end of file diff --git a/redback/priors/powerlawcore.prior b/redback/priors/powerlawcore.prior index 7e646a04d..308bca634 100644 --- a/redback/priors/powerlawcore.prior +++ b/redback/priors/powerlawcore.prior @@ -1,12 +1,12 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') -thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}$') -loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10} E_{0}$') -thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}$') +thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}~(\mathrm{rad})$') +loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10}~E_{0}/\mathrm{erg}$') +thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}~({\mathrm{rad}})$') thw = Uniform(1, 8, 'thw', latex_label=r'$\\theta_{\mathrm{truncation}}$') beta = Uniform(0.5, 10, 'beta', latex_label=r'$\\beta$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}} / {\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(100,2000, 'g0', latex_label=r'$\Gamma_{0}$') +g0 = Uniform(100,2000, 'g0', latex_label=r'$\\Gamma_{0}$') diff --git a/redback/priors/radiative_losses.prior b/redback/priors/radiative_losses.prior index 630375c9b..97ad8e2cd 100644 --- a/redback/priors/radiative_losses.prior +++ b/redback/priors/radiative_losses.prior @@ -3,6 +3,6 @@ alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') nn = Uniform(1.1, 7, 'nn', latex_label= r'$n$') -kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\kappa$') -t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}$') -log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10} E_{0}$') \ No newline at end of file +kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}~(\mathrm{s})$') +log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10}~E_{0}$') \ No newline at end of file diff --git a/redback/priors/radiative_losses_mdr.prior b/redback/priors/radiative_losses_mdr.prior index 2925fdaa4..97ae04292 100644 --- a/redback/priors/radiative_losses_mdr.prior +++ b/redback/priors/radiative_losses_mdr.prior @@ -2,6 +2,6 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') -kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\kappa$') -t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}$') -log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10} E_{0}$') \ No newline at end of file +kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}~(\mathrm{s})$') +log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10}~E_{0}$') \ No newline at end of file diff --git a/redback/priors/radiative_losses_smoothness.prior b/redback/priors/radiative_losses_smoothness.prior index 630375c9b..97ad8e2cd 100644 --- a/redback/priors/radiative_losses_smoothness.prior +++ b/redback/priors/radiative_losses_smoothness.prior @@ -3,6 +3,6 @@ alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') nn = Uniform(1.1, 7, 'nn', latex_label= r'$n$') -kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\kappa$') -t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}$') -log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10} E_{0}$') \ No newline at end of file +kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}~(\mathrm{s})$') +log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10}~E_{0}$') \ No newline at end of file diff --git a/redback/priors/radiative_only.prior b/redback/priors/radiative_only.prior index 577f4f734..aad8d717e 100644 --- a/redback/priors/radiative_only.prior +++ b/redback/priors/radiative_only.prior @@ -1,6 +1,6 @@ l0 = LogUniform(1e-20, 1e5, 'l0', latex_label = r'$L_{0}$') tau = LogUniform(1e2, 1e6, 'tau', latex_label = r'$\\tau$') nn = Uniform(1.1, 7, 'nn', latex_label= r'$n$') -kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\kappa$') -t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}$') -log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10} E_{0}$') \ No newline at end of file +kappa = LogUniform(1e-2, 10, 'kappa', latex_label= r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +t0_s = Uniform(1, 1000, 't0_s', latex_label= r'$T_{0}~(\mathrm{s})$') +log_e0 = Uniform(-10, 2, 'log_e0', latex_label = r'$\log_{10}~E_{0}$') \ No newline at end of file diff --git a/redback/priors/shock_cooling.prior b/redback/priors/shock_cooling.prior index 5479d0b09..cb75df41d 100644 --- a/redback/priors/shock_cooling.prior +++ b/redback/priors/shock_cooling.prior @@ -1,6 +1,6 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') -log10_mass = Uniform(-2, 3, 'log10_mass', latex_label=r'$\log_{10} m_{\mathrm{en}}$') -log10_radius = Uniform(10, 14, 'log10_radius', latex_label=r'$\log_{10} R_{\mathrm{en}}$') -log10_energy = Uniform(40, 52, 'log10_energy', latex_label=r'$\log_{10} E_{\mathrm{en}}$') +log10_mass = Uniform(-2, 3, 'log10_mass', latex_label=r'$\log_{10}~m_{\mathrm{en}} / M_\odot$') +log10_radius = Uniform(10, 14, 'log10_radius', latex_label=r'$\log_{10}~R_{\mathrm{en}} / {\mathrm{cm}}$') +log10_energy = Uniform(40, 52, 'log10_energy', latex_label=r'$\log_{10}~E_{\mathrm{en}} / {\mathrm{erg}}$') nn = Uniform(8, 12, 'nn', latex_label=r'$nn$') -delta = Uniform(1, 1.5, 'delta', latex_label=r'$\\delta$') \ No newline at end of file +delta = Uniform(1, 1.5, 'delta', latex_label=r'$\\Delta$') \ No newline at end of file diff --git a/redback/priors/shock_cooling_and_arnett.prior b/redback/priors/shock_cooling_and_arnett.prior index 39803d909..6e5a4f9d7 100644 --- a/redback/priors/shock_cooling_and_arnett.prior +++ b/redback/priors/shock_cooling_and_arnett.prior @@ -1,12 +1,12 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') -log10_mass = Uniform(-2, 3, 'log10_mass', latex_label=r'$\log_{10} m_{\mathrm{en}}$') -log10_radius = Uniform(10, 14, 'log10_radius', latex_label=r'$\log_{10} R_{\mathrm{en}}$') -log10_energy = Uniform(40, 52, 'log10_energy', latex_label=r'$\log_{10} E_{\mathrm{en}}$') +log10_mass = Uniform(-2, 3, 'log10_mass', latex_label=r'$\log_{10}~m_{\mathrm{en}} / M_\odot$') +log10_radius = Uniform(10, 14, 'log10_radius', latex_label=r'$\log_{10}~R_{\mathrm{en}} / {\mathrm{cm}}^{-3}$') +log10_energy = Uniform(40, 52, 'log10_energy', latex_label=r'$\log_{10}~E_{\mathrm{en}} / {\mathrm{erg}}$') nn = Uniform(8, 12, 'nn', latex_label=r'$nn$') -delta = Uniform(1, 1.5, 'delta', latex_label=r'$\\delta$') +delta = Uniform(1, 1.5, 'delta', latex_label=r'$\\Delta$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_\\gamma~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/shock_cooling_bolometric.prior b/redback/priors/shock_cooling_bolometric.prior index a946507f9..be9ac130e 100644 --- a/redback/priors/shock_cooling_bolometric.prior +++ b/redback/priors/shock_cooling_bolometric.prior @@ -1,5 +1,5 @@ -log10_mass = Uniform(-2, 3, 'log10_mass', latex_label=r'$\log_{10} m_{\mathrm{en}}$') -log10_radius = Uniform(10, 14, 'log10_radius', latex_label=r'$\log_{10} R_{\mathrm{en}}$') -log10_energy = Uniform(40, 52, 'log10_energy', latex_label=r'$\log_{10} E_{\mathrm{en}}$') +log10_mass = Uniform(-2, 3, 'log10_mass', latex_label=r'$\log_{10}~m_{\mathrm{en}} / M_\odot$') +log10_radius = Uniform(10, 14, 'log10_radius', latex_label=r'$\log_{10}~R_{\mathrm{en}} / {\mathrm{cm}}$') +log10_energy = Uniform(40, 52, 'log10_energy', latex_label=r'$\log_{10}~E_{\mathrm{en}} / {\mathrm{erg}}$') nn = Uniform(8, 12, 'nn', latex_label=r'$nn$') -delta = Uniform(1, 1.5, 'delta', latex_label=r'$\\delta$') \ No newline at end of file +delta = Uniform(1, 1.5, 'delta', latex_label=r'$\\Delta$') \ No newline at end of file diff --git a/redback/priors/shocked_cocoon.prior b/redback/priors/shocked_cocoon.prior index 070832772..98d05af9e 100644 --- a/redback/priors/shocked_cocoon.prior +++ b/redback/priors/shocked_cocoon.prior @@ -1,8 +1,8 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') -eta = Uniform(1, 5, 'eta', latex_label = r'$\\eta$') -tshock = Uniform(1, 2, 'tshock', latex_label = r'$t_{\mathrm{shock}} [s]$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') +beta = Uniform(1, 5, '\\beta', latex_label = r'$\\beta$') +tshock = Uniform(1, 2, 'tshock', latex_label = r'$t_{\mathrm{shock}}~(\mathrm{s)}$') shocked_fraction = Uniform(0.1, 1, 'shocked_fraction', latex_label = r'$f_{\mathrm{shocked}}$') -cos_theta_cocoon = Uniform(0.2, 0.9, 'cos_theta_cocoon', latex_label = r'$\cos \\theta_{mathrm{cocoon}}$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') \ No newline at end of file +cos_theta_cocoon = Uniform(0.2, 0.9, 'cos_theta_cocoon', latex_label = r'$\cos~\\theta_{\mathrm{cocoon}}$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/shocked_cocoon_bolometric.prior b/redback/priors/shocked_cocoon_bolometric.prior index a3d2dfcce..dea92e217 100644 --- a/redback/priors/shocked_cocoon_bolometric.prior +++ b/redback/priors/shocked_cocoon_bolometric.prior @@ -1,7 +1,7 @@ -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{\mathrm{ej}} [c]$') -eta = Uniform(1, 5, 'eta', latex_label = r'$\\eta$') -tshock = Uniform(1, 2, 'tshock', latex_label = r'$t_{\mathrm{shock}} [s]$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{\mathrm{ej}}~(c)$') +beta = Uniform(1, 5, '\\beta', latex_label = r'$\\beta$') +tshock = Uniform(1, 2, 'tshock', latex_label = r'$t_{\mathrm{shock}}~(\mathrm{s)}$') shocked_fraction = Uniform(0.1, 1, 'shocked_fraction', latex_label = r'$f_{\mathrm{shocked}}$') -cos_theta_cocoon = Uniform(0.2, 0.9, 'cos_theta_cocoon', latex_label = r'$\cos \\theta_{mathrm{cocoon}}$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') \ No newline at end of file +cos_theta_cocoon = Uniform(0.2, 0.9, 'cos_theta_cocoon', latex_label = r'$\cos~\\theta_{\mathrm{cocoon}}$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') \ No newline at end of file diff --git a/redback/priors/six_component_powerlaw.prior b/redback/priors/six_component_powerlaw.prior index 36d567f4b..21a159fe4 100644 --- a/redback/priors/six_component_powerlaw.prior +++ b/redback/priors/six_component_powerlaw.prior @@ -1,12 +1,12 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') -delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\Delta_{ } t_{1}$') +delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\\Delta_{ }t_{1}$') alpha_2 = Uniform(-10, 0, 'alpha_2', latex_label = r'$\\alpha_{2}$') -delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\Delta_{ } t_{2}$') +delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\\Delta_{ }t_{2}$') alpha_3 = Uniform(-10, 0, 'alpha_3', latex_label = r'$\\alpha_{3}$') -delta_time_three = LogUniform(1e-10, 1e6, 'delta_time_three', latex_label = r'$\Delta_{ } t_{3}$') +delta_time_three = LogUniform(1e-10, 1e6, 'delta_time_three', latex_label = r'$\\Delta_{ }t_{3}$') alpha_4 = Uniform(-10, 0, 'alpha_4', latex_label = r'$\\alpha_{4}$') -delta_time_four = LogUniform(1e-10, 1e6, 'delta_time_four', latex_label = r'$\Delta_{ } t_{4}$') +delta_time_four = LogUniform(1e-10, 1e6, 'delta_time_four', latex_label = r'$\\Delta_{ }t_{4}$') alpha_5 = Uniform(-10, 0, 'alpha_5', latex_label = r'$\\alpha_{5}$') -delta_time_five = LogUniform(1e-10, 1e6, 'delta_time_five', latex_label = r'$\Delta_{ } t_{5}$') +delta_time_five = LogUniform(1e-10, 1e6, 'delta_time_five', latex_label = r'$\\Delta_{ }t_{5}$') alpha_6 = Uniform(-10, 0, 'alpha_six', latex_label = r'$\\alpha_{6}$') diff --git a/redback/priors/slsn.prior b/redback/priors/slsn.prior index 6dbe3ce77..fcd78437e 100644 --- a/redback/priors/slsn.prior +++ b/redback/priors/slsn.prior @@ -1,12 +1,12 @@ redshift = Uniform(1e-6,3,name='redshift', latex_label = r'$z$') -p0 = Uniform(1, 10, 'p0', latex_label = r'$P_{0}$ [ms]') -bp = LogUniform(0.1,10,'bp',latex_label = r'$B_{p}$~[10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}} [M_{\odot}]$') -theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{P-B}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') +p0 = Uniform(1, 10, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(0.1,10,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}}~(M_\odot)$') +theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}~({\mathrm{rad}})$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') e_rot_constraint = Constraint(name='e_rot_constraint', minimum=10, maximum=1e10) t_nebula_min = Constraint(name='t_nebula_min', minimum=0.1,maximum=500) \ No newline at end of file diff --git a/redback/priors/slsn_bolometric.prior b/redback/priors/slsn_bolometric.prior index 2a689c069..4d11ba648 100644 --- a/redback/priors/slsn_bolometric.prior +++ b/redback/priors/slsn_bolometric.prior @@ -1,10 +1,10 @@ -p0 = Uniform(1, 10, 'p0', latex_label = r'$P_{0}$ [ms]') -bp = LogUniform(0.1,10,'bp',latex_label = r'$B_{p}$~[10$^{14}$G]') -mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}} [M_{\odot}]$') -theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{P-B}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') +p0 = Uniform(1, 10, 'p0', latex_label = r'$P_{0}~(\mathrm{ms})$') +bp = LogUniform(0.1,10,'bp',latex_label = r'$B_{p}~(10^{14}~\mathrm{G})$') +mass_ns = Uniform(1.1, 2.2, 'mass_ns', latex_label = r'$M_{\mathrm{NS}}~(M_\odot)$') +theta_pb = Uniform(0, 3.14/2, 'theta_pb', latex_label = r'$\\theta_{\mathrm{PB}}~({\mathrm{rad}})$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') e_rot_constraint = Constraint(name='e_rot_constraint', minimum=10, maximum=1e10) t_nebula_min = Constraint(name='t_nebula_min', minimum=0.1,maximum=500) \ No newline at end of file diff --git a/redback/priors/smoothpowerlaw.prior b/redback/priors/smoothpowerlaw.prior index 7e646a04d..248b8d24f 100644 --- a/redback/priors/smoothpowerlaw.prior +++ b/redback/priors/smoothpowerlaw.prior @@ -1,12 +1,12 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') -thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}$') -loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10} E_{0}$') -thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}$') +thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}~(\mathrm{rad})$') +loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10}~E_{0} / \mathrm{erg}$') +thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}~({\mathrm{rad}})$') thw = Uniform(1, 8, 'thw', latex_label=r'$\\theta_{\mathrm{truncation}}$') beta = Uniform(0.5, 10, 'beta', latex_label=r'$\\beta$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}} / {\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(100,2000, 'g0', latex_label=r'$\Gamma_{0}$') +g0 = Uniform(100,2000, 'g0', latex_label=r'$\\Gamma_{0}$') diff --git a/redback/priors/sn_exponential_powerlaw.prior b/redback/priors/sn_exponential_powerlaw.prior index 98bb03cf9..b411f4b08 100644 --- a/redback/priors/sn_exponential_powerlaw.prior +++ b/redback/priors/sn_exponential_powerlaw.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-6,3,name='redshift', latex_label = r'$z$') -lbol_0 = LogUniform(1e36,1e48,name='lbol_0', latex_label = r'$L_{\mathrm{bol}-0}$') -alpha_1 = Uniform(0,10,name='alpha_1',latex_label='$\\alpha_{1}$') -alpha_2 = Uniform(0,10,name='alpha_2',latex_label='$\\alpha_{2}$') -tpeak_d = LogUniform(0.001,200,name='tpeak', latex_label = r'$t_{\mathrm{peak}}$~[days]') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +lbol_0 = LogUniform(1e36,1e48,name='lbol_0', latex_label = r'$L_{\mathrm{bol}~0}~(\mathrm{erg})$') +alpha_1 = Uniform(0,10,name='alpha_1',latex_label='$\\alpha_1$') +alpha_2 = Uniform(0,10,name='alpha_2',latex_label='$\\alpha_2$') +tpeak_d = LogUniform(0.001,200,name='tpeak', latex_label = r'$t_{\mathrm{peak}}~(\mathrm{day})$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/tde_analytical.prior b/redback/priors/tde_analytical.prior index 995277fae..aa2298709 100644 --- a/redback/priors/tde_analytical.prior +++ b/redback/priors/tde_analytical.prior @@ -1,8 +1,8 @@ -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') l0 = LogUniform(1e51, 1e58, "l0", latex_label="$l_0$") t_0_turn = LogUniform(1e-4, 1e2, "t_0_turn", latex_label="$t_{0 t}$") \ No newline at end of file diff --git a/redback/priors/tde_analytical_bolometric.prior b/redback/priors/tde_analytical_bolometric.prior index d0bdf0ea1..1e308e89e 100644 --- a/redback/priors/tde_analytical_bolometric.prior +++ b/redback/priors/tde_analytical_bolometric.prior @@ -1,6 +1,6 @@ -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') l0 = LogUniform(1e51, 1e58, "l0", latex_label="$l_0$") t_0_turn = LogUniform(1e-4, 1e2, "t_0_turn", latex_label="$t_{0 t}$") \ No newline at end of file diff --git a/redback/priors/thermal_synchrotron_fluxdensity.prior b/redback/priors/thermal_synchrotron_fluxdensity.prior index 108f659bf..c2d34f00f 100644 --- a/redback/priors/thermal_synchrotron_fluxdensity.prior +++ b/redback/priors/thermal_synchrotron_fluxdensity.prior @@ -1,9 +1,9 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') -v0 = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{0} [c]$') -logr0 = Uniform(14, 18, 'logr0', latex_label=r'$\log_{10} R_{0}~\mathrm{cm}$') -eta = Uniform(0.1, 0.9, 'eta', latex_label=r'$\\eta$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}} / {\mathrm{cm}}^{-3}$') +v0 = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{0}~(c)$') +logr0 = Uniform(14, 18, 'logr0', latex_label=r'$\log_{10}~R_{0} / \mathrm{cm}$') +beta = Uniform(0.1, 0.9, '\\beta', latex_label=r'$\\beta$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') xi = Uniform(0.01, 1., 'xi', latex_label=r'$\\xi_{N}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') \ No newline at end of file diff --git a/redback/priors/thermal_synchrotron_lnu.prior b/redback/priors/thermal_synchrotron_lnu.prior index 50f3e2de6..d2bda5222 100644 --- a/redback/priors/thermal_synchrotron_lnu.prior +++ b/redback/priors/thermal_synchrotron_lnu.prior @@ -1,8 +1,8 @@ -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') -v0 = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{0} [c]$') -logr0 = Uniform(14, 18, 'logr0', latex_label=r'$\log_{10} R_{0}~\mathrm{cm}$') -eta = Uniform(0.1, 0.9, 'eta', latex_label=r'$\\eta$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}} / {\mathrm{cm}}^{-3}$') +v0 = Uniform(0.1, 0.7, 'vej', latex_label = r'$v_{0}~(c)$') +logr0 = Uniform(14, 18, 'logr0', latex_label=r'$\log_{10}~R_{0} / \mathrm{cm}$') +beta = Uniform(0.1, 0.9, '\\beta', latex_label=r'$\\beta$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') xi = Uniform(0.01, 1., 'xi', latex_label=r'$\\xi_{N}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') \ No newline at end of file diff --git a/redback/priors/thin_shell_supernova.prior b/redback/priors/thin_shell_supernova.prior index 7e13d25b3..6771f3c1a 100644 --- a/redback/priors/thin_shell_supernova.prior +++ b/redback/priors/thin_shell_supernova.prior @@ -1,7 +1,7 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -ek = LogUniform(1e48, 1e52, 'ek', latex_label = r'$E_{\mathrm{k}} [erg]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') \ No newline at end of file +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +ek = LogUniform(1e48, 1e52, 'ek', latex_label = r'$E_{\mathrm{kin}}~(\mathrm{erg})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/three_component_kilonova_model.prior b/redback/priors/three_component_kilonova_model.prior index 1ebf71e9c..22a7d2fd9 100644 --- a/redback/priors/three_component_kilonova_model.prior +++ b/redback/priors/three_component_kilonova_model.prior @@ -1,13 +1,13 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej_1 = Uniform(1e-2, 0.02, 'mej_1', latex_label = r'$M_{\mathrm{ej}-1} [M_{\odot}]$') -vej_1 = Uniform(0.1, 0.3, 'vej_1', latex_label = r'$v_{\mathrm{ej}-1} [c]$') -kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\kappa_{1}$') -temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_1', latex_label = r'$T_{\mathrm{floor}-1}$') -mej_2 = Uniform(1e-2, 0.025, 'mej_2', latex_label = r'$M_{\mathrm{ej}-2} [M_{\odot}]$') -vej_2 = Uniform(0.1, 0.3, 'vej_2', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_{2}$') -temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-2}$') -mej_3 = Uniform(1e-2, 0.025, 'mej_2', latex_label = r'$M_{\mathrm{ej}-2} [M_{\odot}]$') -vej_3 = Uniform(0.1, 0.3, 'vej_2', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa_3 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_{2}$') -temperature_floor_3 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-3}$') \ No newline at end of file +mej_1 = Uniform(1e-2, 0.02, 'mej_1', latex_label = r'$M_{\mathrm{ej}~1}~(M_\odot)$') +vej_1 = Uniform(0.1, 0.3, 'vej_1', latex_label = r'$v_{\mathrm{ej}~1}~(c)$') +kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\\kappa_{1}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_1', latex_label = r'$T_{\mathrm{floor}~1}~(\mathrm{K})$') +mej_2 = Uniform(1e-2, 0.025, 'mej_2', latex_label = r'$M_{\mathrm{ej}~2}~(M_\odot)$') +vej_2 = Uniform(0.1, 0.3, 'vej_2', latex_label = r'$v_{\mathrm{ej}~-2}~(c)$') +kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_{2}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}~2}~(\mathrm{K})$') +mej_3 = Uniform(1e-2, 0.025, 'mej_2', latex_label = r'$M_{\mathrm{ej}_{ }3}~(M_\odot)$') +vej_3 = Uniform(0.1, 0.3, 'vej_2', latex_label = r'$v_{\mathrm{ej}~3}~(c)$') +kappa_3 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_{3}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor_3 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}~3}~(\mathrm{K})$') \ No newline at end of file diff --git a/redback/priors/three_component_powerlaw.prior b/redback/priors/three_component_powerlaw.prior index 57f4e12d5..77c5da0e1 100644 --- a/redback/priors/three_component_powerlaw.prior +++ b/redback/priors/three_component_powerlaw.prior @@ -1,6 +1,6 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') -delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\Delta_{ } t_{1}$') +delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\\Delta_{ } t_{1}$') alpha_2 = Uniform(-10, 0, 'alpha_2', latex_label = r'$\\alpha_{2}$') -delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\Delta_{ } t_{2}$') +delta_time_two = LogUniform(10, 1e6, 'delta_time_two', latex_label = r'$\\Delta_{ } t_{2}$') alpha_3 = Uniform(-10, 0, 'alpha_3', latex_label = r'$\\alpha_{3}$') diff --git a/redback/priors/tophat.prior b/redback/priors/tophat.prior index 6ceb5cd9d..5e48f8feb 100644 --- a/redback/priors/tophat.prior +++ b/redback/priors/tophat.prior @@ -1,10 +1,10 @@ redshift = Uniform(0.01, 3, 'redshift', latex_label=r'$z$') -thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}$') -loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10} E_{0}$') -thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}$') -logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10} n_{\mathrm{ism}}$') +thv = Sine(name='thv', maximum=np.pi/2, latex_label=r'$\\theta_{\mathrm{observer}}~(\mathrm{rad})$') +loge0 = Uniform(44, 54, 'loge0', latex_label=r'$\log_{10}~E_{0} / {\mathrm{erg}}$') +thc = Uniform(0.01, 0.1, 'thc', latex_label=r'$\\theta_{\mathrm{core}}~({\mathrm{rad}})$') +logn0 = Uniform(-5, 2, 'logn0', latex_label=r'$\log_{10}~n_{\mathrm{ism}} / {\mathrm{cm}}^{-3}$') p = Uniform(2, 3, 'p', latex_label=r'$p$') -logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10} \epsilon_{e}$') -logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10} \epsilon_{B}$') +logepse = Uniform(-5, 0, 'logepse', latex_label=r'$\log_{10}~\\epsilon_{e}$') +logepsb = Uniform(-5, 0, 'logepsb', latex_label=r'$\log_{10}~\\epsilon_{B}$') ksin = Uniform(0., 1., 'ksin', latex_label=r'$\\xi_{N}$') -g0 = Uniform(100,2000, 'g0', latex_label=r'$\Gamma_{0}$') +g0 = Uniform(100,2000, 'g0', latex_label=r'$\\Gamma_{0}$') diff --git a/redback/priors/trapped_magnetar.prior b/redback/priors/trapped_magnetar.prior index 978a9c2a2..853d29267 100644 --- a/redback/priors/trapped_magnetar.prior +++ b/redback/priors/trapped_magnetar.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-6, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}} [c]$') -ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') -n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$m_{\mathrm{ism}}$') +mej = Uniform(1e-4, 0.1, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +beta = Uniform(0.1, 0.7, 'beta', latex_label = r'$v_{\mathrm{ej}}~(c)$') +ejecta_radius = LogUniform(1e9, 1e10, 'ejecta_radius', latex_label = r'$R_{\mathrm{ejecta}}~({\mathrm{cm}})$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +n_ism = LogUniform(1e-4, 1, 'n_ism', latex_label = r'$n_{\mathrm{ism}}~({\mathrm{cm}}^{-3})$') l0 = LogUniform(1e40, 1e50, 'l0', latex_label = r'$l_0$') -tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = '$\\tau_{\mathrm{sd}}$') +tau_sd = LogUniform(10, 1e5, 'tau_sd', latex_label = '$\\tau_{\mathrm{sd}}~({\mathrm{s}})$') nn = Uniform(2, 7, 'nn', latex_label='$n$') thermalisation_efficiency = Uniform(0.1, 1, 'thermalisation_efficiency', latex_label='$\epsilon_{\mathrm{th}}$') \ No newline at end of file diff --git a/redback/priors/two_component_bns_ejecta_relation.prior b/redback/priors/two_component_bns_ejecta_relation.prior index 0e3dcec7d..819910a1d 100644 --- a/redback/priors/two_component_bns_ejecta_relation.prior +++ b/redback/priors/two_component_bns_ejecta_relation.prior @@ -1,12 +1,12 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'mass$_1$') -mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'mass$_2$') +mass_1 = Uniform(1.1, 2.1, 'mass_1', latex_label = r'$M_1~(M_\odot)$') +mass_2 = Uniform(1.1, 2.1, 'mass_2', latex_label = r'$M_2~(M_\odot)$') lambda_1 = Uniform(0, 5000, 'lambda_1', latex_label = r'$\\Lambda_1$') lambda_2 = Uniform(0, 5000, 'lambda_2', latex_label = r'$\\Lambda_2$') -mtov = Uniform(2.05, 2.4, 'mtov', latex_label = r'$M_{\mathrm{TOV}} M\odot$') +mtov = Uniform(2.05, 2.4, 'mtov', latex_label = r'$M_{\mathrm{TOV}}~(M_\odot)$') zeta = Uniform(0.05, 0.6, 'zeta', latex_label = r'$\\zeta$') -vej_2 = Uniform(0.01, 0.3, 'vej', latex_label = r'$v_{\mathrm{ej-2}} [c]$') -kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\kappa_1$') -kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_1$') -tf_1 = LogUniform(100, 6000, 'tf_1', latex_label = r'$T_{\mathrm{floor-1}}$') -tf_2 = LogUniform(100, 6000, 'tf_2', latex_label = r'$T_{\mathrm{floor-2}}$') \ No newline at end of file +vej_2 = Uniform(0.01, 0.3, 'vej', latex_label = r'$v_{\mathrm{ej-2}}~(c)$') +kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\\kappa_1~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_2~(\mathrm{cm}^{2}/\mathrm{g})$') +tf_1 = LogUniform(100, 6000, 'tf_1', latex_label = r'$T_{\mathrm{floor-1}}~({\mathrm{K}})$') +tf_2 = LogUniform(100, 6000, 'tf_2', latex_label = r'$T_{\mathrm{floor-2}}~({\mathrm{K}})$') \ No newline at end of file diff --git a/redback/priors/two_component_kilonova_model.prior b/redback/priors/two_component_kilonova_model.prior index d3f2acdaf..ac140cfe1 100644 --- a/redback/priors/two_component_kilonova_model.prior +++ b/redback/priors/two_component_kilonova_model.prior @@ -1,9 +1,9 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej_1 = Uniform(1e-2, 0.03, 'mej_1', latex_label = r'$M_{\mathrm{ej}-1} [M_{\odot}]$') -vej_1 = Uniform(0.1, 0.5, 'vej_1', latex_label = r'$v_{\mathrm{ej}-1} [c]$') -kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\kappa_{1}$') -temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_1', latex_label = r'$T_{\mathrm{floor}-1}$') -mej_2 = Uniform(1e-2, 0.03, 'mej_2', latex_label = r'$M_{\mathrm{ej}-2} [M_{\odot}]$') -vej_2 = Uniform(0.1, 0.5, 'vej_2', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_{2}$') -temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}-2}$') +mej_1 = Uniform(1e-2, 0.03, 'mej_1', latex_label = r'$M_{\mathrm{ej}~1}~(M_\odot)$') +mej_2 = Uniform(1e-2, 0.03, 'mej_2', latex_label = r'$M_{\mathrm{ej}~2}~(M_\odot)$') +vej_1 = Uniform(0.1, 0.5, 'vej_1', latex_label = r'$v_{\mathrm{ej}~1}~(c)$') +vej_2 = Uniform(0.1, 0.5, 'vej_2', latex_label = r'$v_{\mathrm{ej}~2}~(c)$') +kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\\kappa_{1}~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_{2}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor_1 = LogUniform(100, 6000, 'temperature_floor_1', latex_label = r'$T_{\mathrm{floor}~1}~({\mathrm{K}})$') +temperature_floor_2 = LogUniform(100, 6000, 'temperature_floor_2', latex_label = r'$T_{\mathrm{floor}~2}~({\mathrm{K}})$') \ No newline at end of file diff --git a/redback/priors/two_component_nsbh_ejecta_relation.prior b/redback/priors/two_component_nsbh_ejecta_relation.prior index 49b29a0e5..a10c5d042 100644 --- a/redback/priors/two_component_nsbh_ejecta_relation.prior +++ b/redback/priors/two_component_nsbh_ejecta_relation.prior @@ -1,11 +1,11 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mass_bh = Uniform(2.5, 35, 'mass_bh', latex_label = r'mass$_1$') -mass_ns = Uniform(1.1, 2.1, 'mass_ns', latex_label = r'mass$_2$') +mass_bh = Uniform(2.5, 35, 'mass_bh', latex_label = r'$M(\mathrm{BH})~(M_\odot)$') +mass_ns = Uniform(1.1, 2.1, 'mass_ns', latex_label = r'$M(\mathrm{NS})~(M_\odot)$') chi_eff = Uniform(0, 1, 'chi_eff', latex_label = r'$\\chi_{\mathrm{eff}}$') -lambda_ns = Uniform(0, 5000, 'lambda_2', latex_label = r'$\\Lambda_\mathrm{ns}$') +lambda_ns = Uniform(0, 5000, 'lambda_2', latex_label = r'$\\Lambda_{\mathrm{NS}}$') zeta = Uniform(0.05, 0.6, 'zeta', latex_label = r'$\\zeta$') -vej_2 = Uniform(0.01, 0.3, 'vej', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\kappa_1$') -kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\kappa_1$') -tf_1 = LogUniform(100, 6000, 'tf_1', latex_label = r'$T_{\mathrm{floor}-1}$') -tf_2 = LogUniform(100, 6000, 'tf_2', latex_label = r'$T_{\mathrm{floor}-2}$') \ No newline at end of file +vej_2 = Uniform(0.01, 0.3, 'vej', latex_label = r'$v_{\mathrm{ej}~2}~(c)$') +kappa_1 = Uniform(1, 30, 'kappa_1', latex_label = r'$\\kappa_1~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_2 = Uniform(1, 30, 'kappa_2', latex_label = r'$\\kappa_2~(\mathrm{cm}^{2}/\mathrm{g})$') +tf_1 = LogUniform(100, 6000, 'tf_1', latex_label = r'$T_{\mathrm{floor}~1}~({\mathrm{K}})$') +tf_2 = LogUniform(100, 6000, 'tf_2', latex_label = r'$T_{\mathrm{floor}~2}~({\mathrm{K}})$') \ No newline at end of file diff --git a/redback/priors/two_component_powerlaw.prior b/redback/priors/two_component_powerlaw.prior index d7e65090d..d4ddb0ddc 100644 --- a/redback/priors/two_component_powerlaw.prior +++ b/redback/priors/two_component_powerlaw.prior @@ -1,4 +1,4 @@ a_1 = LogUniform(1e-20, 1e20, 'a_1', latex_label = r'$A_{1}$') alpha_1 = Uniform(-10, -0.5, 'alpha_1', latex_label = r'$\\alpha_{1}$') -delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\Delta_{ } t_{1}$') +delta_time_one = LogUniform(1e-10, 1e6, 'delta_time_one', latex_label = r'$\\Delta_{ }t_{1}$') alpha_2 = Uniform(-10, 0, 'alpha_2', latex_label = r'$\\alpha_{2}$') diff --git a/redback/priors/two_layer_stratified_kilonova.prior b/redback/priors/two_layer_stratified_kilonova.prior index cd03794b2..452a6850d 100644 --- a/redback/priors/two_layer_stratified_kilonova.prior +++ b/redback/priors/two_layer_stratified_kilonova.prior @@ -1,6 +1,6 @@ redshift = Uniform(1e-3, 0.1, 'redshift', latex_label = r'$z$') -mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej_1 = Uniform(0.05, 0.2, 'vej_1', latex_label = r'$v_{\mathrm{ej}-1} [c]$') -vej_2 = Uniform(0.3, 0.5, 'vej_2', latex_label = r'$v_{\mathrm{ej}-2} [c]$') -kappa = Uniform(1, 30, 'kappa', latex_label = r'$\kappa$') +mej = Uniform(1e-2, 0.05, 'mej', latex_label = r'$M_{\mathrm{ej}}~(M_\odot)$') +vej_1 = Uniform(0.05, 0.2, 'vej_1', latex_label = r'$v_{\mathrm{ej}~1}~(c)$') +vej_2 = Uniform(0.3, 0.5, 'vej_2', latex_label = r'$v_{\mathrm{ej}~2}~(c)$') +kappa = Uniform(1, 30, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') beta = Uniform(1.5, 8, 'beta', latex_label = r'$\\beta$') diff --git a/redback/priors/type_1a.prior b/redback/priors/type_1a.prior index f2cf6f6ce..36e260d1f 100644 --- a/redback/priors/type_1a.prior +++ b/redback/priors/type_1a.prior @@ -1,10 +1,10 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') line_wavelength = 6.5e3 line_width = 500 line_amplitude = 0.3 \ No newline at end of file diff --git a/redback/priors/type_1c.prior b/redback/priors/type_1c.prior index d45421f17..5c7a539da 100644 --- a/redback/priors/type_1c.prior +++ b/redback/priors/type_1c.prior @@ -1,8 +1,8 @@ redshift = Uniform(1e-3,3,name='redshift', latex_label = r'$z$') f_nickel = LogUniform(1e-3,1,name='f_nickel', latex_label = r'$f_{\mathrm{Ni}}$') -mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej}} [M_{\odot}]$') -vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}} [km/s]$') -kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\kappa$') -kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\kappa_{\gamma}$') -temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}$ [k]') +mej = LogUniform(1e-4, 100, 'mej', latex_label = r'$M_{\mathrm{ej} }~(M_\odot)$') +vej = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$') +kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$') +kappa_gamma = LogUniform(1e-4, 1e4, 'kappa_gamma', latex_label = r'$\\kappa_{\\gamma}~(\mathrm{cm}^{2}/\mathrm{g})$') +temperature_floor = LogUniform(1e3,1e5,name = 'temperature_floor', latex_label = r'$T_{\mathrm{floor}}~(\mathrm{K})$') pp = Uniform(1.1, 4, 'pp', latex_label = r'$p$') \ No newline at end of file