From 9879baf77d8154fba43c1bc1a0b6be2cb8db7b45 Mon Sep 17 00:00:00 2001 From: Gregory Ashton <gregory.ashton@ligo.org> Date: Tue, 11 Oct 2016 21:58:00 +0200 Subject: [PATCH] Updates label in BSGL case --- pyfstat.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pyfstat.py b/pyfstat.py index e047aa3..4b044ea 100755 --- a/pyfstat.py +++ b/pyfstat.py @@ -928,11 +928,14 @@ class MCMCSearch(BaseSearchClass): axes.append(fig.add_subplot(ndim+1, 1, ndim+1)) lnl = sampler.lnlikelihood[temp, :, :] if burnin_idx: - axes[-1].hist(lnl[:, :burnin_idx].flatten(), bins=50, histtype='step', - color='r') + axes[-1].hist(lnl[:, :burnin_idx].flatten(), bins=50, + histtype='step', color='r') axes[-1].hist(lnl[:, burnin_idx:].flatten(), bins=50, histtype='step', color='k') - axes[-1].set_xlabel(r'$2\mathcal{F}$') + if self.BSGL: + axes[-1].set_xlabel(r'$\mathcal{B}_\mathrm{S/GL}$') + else: + axes[-1].set_xlabel(r'$2\mathcal{F}$') return fig, axes -- GitLab