aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-09-27 20:00:59 +0800
committerAaron LI <aly@aaronly.me>2018-09-27 20:00:59 +0800
commitada75e660fdac92ad620c4eb951e83fbdca1ccbe (patch)
tree5983a34e179207416d741ce2e4d44df6ef3e31a3 /astro
parent769b39d84c7a6eebe6c50d8e8e5ab038c5c0183b (diff)
downloadatoolbox-ada75e660fdac92ad620c4eb951e83fbdca1ccbe.tar.bz2
astro/calc_psd.py: Fix ylabel (normalized w.r.t. pixel size)
Diffstat (limited to 'astro')
-rwxr-xr-xastro/calc_psd.py2
1 files changed, 1 insertions, 1 deletions
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"