diff options
author | Aaron LI <aly@aaronly.me> | 2018-09-27 20:00:59 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-09-27 20:00:59 +0800 |
commit | ada75e660fdac92ad620c4eb951e83fbdca1ccbe (patch) | |
tree | 5983a34e179207416d741ce2e4d44df6ef3e31a3 | |
parent | 769b39d84c7a6eebe6c50d8e8e5ab038c5c0183b (diff) | |
download | atoolbox-ada75e660fdac92ad620c4eb951e83fbdca1ccbe.tar.bz2 |
astro/calc_psd.py: Fix ylabel (normalized w.r.t. pixel size)
-rwxr-xr-x | astro/calc_psd.py | 2 |
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" |