From 9c5dc64fb74ba4a3014c8a6d59742e02869a2101 Mon Sep 17 00:00:00 2001 From: Matthew Pitkin <matthew.pitkin@ligo.org> Date: Fri, 3 Aug 2018 10:22:20 +0100 Subject: [PATCH] radioactive_decay.py: minor typo fixes and unit additions --- examples/other_examples/radioactive_decay.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/other_examples/radioactive_decay.py b/examples/other_examples/radioactive_decay.py index 219f7bc58..156406da2 100644 --- a/examples/other_examples/radioactive_decay.py +++ b/examples/other_examples/radioactive_decay.py @@ -2,7 +2,7 @@ """ An example of how to use tupak to perform paramater estimation for non-gravitational wave data. In this case, fitting the half-life and -initial radionucleotide number for Lead 214. +initial radionucleotide number for Polonium 214. """ from __future__ import division import tupak @@ -69,9 +69,9 @@ likelihood = PoissonLikelihood(deltat, counts, decayrate) # Make the prior priors = {} priors['halflife'] = tupak.core.prior.LogUniform(1e-5, 1e5, 'halflife', - latex_label='$t_{1/2}$') + latex_label='$t_{1/2}$ (min)') priors['N0'] = tupak.core.prior.LogUniform(1e-25, 1e-10, 'N0', - latex_label='$N_0$') + latex_label='$N_0$ (mole)') # And run sampler result = tupak.run_sampler( -- GitLab