From ada75e660fdac92ad620c4eb951e83fbdca1ccbe Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 27 Sep 2018 20:00:59 +0800 Subject: astro/calc_psd.py: Fix ylabel (normalized w.r.t. pixel size) --- astro/calc_psd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astro/calc_psd.py b/astro/calc_psd.py index e15d1a9..db64586 100755 --- a/astro/calc_psd.py +++ b/astro/calc_psd.py @@ -251,7 +251,7 @@ class PSD: label = "median" labelerr = "1.4826*MAD" if self.bunit: - ylabel = r"Power [(%s)$^2$]" % self.bunit + ylabel = r"Power [(%s/%s)$^2$]" % (self.bunit, self.pixel[1]) else: ylabel = "Power" -- cgit v1.2.2