We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 729ce25 commit 4273421Copy full SHA for 4273421
1 file changed
mne/viz/utils.py
@@ -2445,7 +2445,10 @@ def _convert_psds(
2445
if dB:
2446
np.log10(np.maximum(psds, np.finfo(float).tiny), out=psds)
2447
psds *= coef
2448
- ylabel = r"$\mathrm{dB}\ $" + ylabel
+ if estimate == "amplitude":
2449
+ ylabel = r"$\mathrm{dB/\sqrt{Hz}}$"
2450
+ else:
2451
+ ylabel = r"$\mathrm{dB/Hz}$"
2452
ylabel = "Power (" + ylabel if estimate == "power" else "Amplitude (" + ylabel
2453
ylabel += ")"
2454
0 commit comments