Skip to content

Commit

Permalink
Merge pull request #237 from nikhil-sarin/bugfix_default_csmprior
Browse files Browse the repository at this point in the history
Change docstring/default prior
  • Loading branch information
nikhil-sarin authored Nov 13, 2024
2 parents e9cb419 + f048822 commit 5fa95c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions redback/priors/csm_shock_breakout.prior
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
redshift = Uniform(0.01, 1, 'redshift', latex_label=r'$z$')
csm_mass = LogUniform(1e-3, 10, 'csm_mass', latex_label=r'$M_{\mathrm{CSM}}~(M_{\odot})$')
v_min = LogUniform(1e3, 1e5, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$')
beta = Uniform(0.1, 0.5, 'beta', latex_label=r'$\\beta$')
kappa = Uniform(0.05, 2, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$')
shell_radius = Uniform(1e-2, 1e2, 'shell_radius', latex_label=r'$R_{\mathrm{shell}}~(10^{14}~\mathrm{cm})$')
shell_width_ratio = Uniform(0.1, 0.9, 'shell_width_ratio', latex_label=r'$\\Delta~R_{\mathrm{shell}}/R_{\mathrm{shell}}$')
csm_mass = LogUniform(1e-3, 2, 'csm_mass', latex_label=r'$M_{\mathrm{CSM}}~(M_{\odot})$')
v_min = LogUniform(1e3, 3e4, 'vej', latex_label = r'$v_{\mathrm{ej}}~(\mathrm{km}/\mathrm{s})$')
beta = Uniform(0.4, 0.5, 'beta', latex_label=r'$\\beta$')
kappa = Uniform(0.01, 1, 'kappa', latex_label = r'$\\kappa~(\mathrm{cm}^{2}/\mathrm{g})$')
shell_radius = Uniform(1e-2, 10, 'shell_radius', latex_label=r'$R_{\mathrm{shell}}~(10^{14}~\mathrm{cm})$')
shell_width_ratio = Uniform(0.1, 0.5, 'shell_width_ratio', latex_label=r'$\\Delta~R_{\mathrm{shell}}/R_{\mathrm{shell}}$')
4 changes: 2 additions & 2 deletions redback/transient_models/shock_powered_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def _shocked_cocoon(time, mej, vej, eta, tshock, shocked_fraction, cos_theta_coc
"""
:param time: source frame time in days
:param mej: ejecta mass in solar masses
:param vej: ejecta mass in c
:param vej: ejecta velocity in c
:param eta: slope for ejecta density profile
:param tshock: shock time in seconds
:param shocked_fraction: fraction of ejecta mass shocked
Expand Down Expand Up @@ -607,7 +607,7 @@ def shocked_cocoon(time, redshift, mej, vej, eta, tshock, shocked_fraction, cos_
:param time: observer frame time in days
:param redshift: redshift
:param mej: ejecta mass in solar masses
:param vej: ejecta mass in km/s
:param vej: ejecta velocity in c
:param eta: slope for ejecta density profile
:param tshock: shock time in seconds
:param shocked_fraction: fraction of ejecta mass shocked
Expand Down

0 comments on commit 5fa95c8

Please # to comment.