beta psd return

This commit is contained in:
Ivey Song
2026-06-10 17:53:01 +08:00
parent f21367bc20
commit 1bbe84eb56
4 changed files with 42 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ class Beta_Calculate():
alpha_psd = np.sum(self.band_psd(freqs, psd, (8, 13)))
theta_psd = np.sum(self.band_psd(freqs, psd, (4, 8)))
print(f"[功率] β={beta_psd:.2f} | α={alpha_psd:.2f} | θ={theta_psd:.2f}")
# print(f"[功率] β={beta_psd:.2f} | α={alpha_psd:.2f} | θ={theta_psd:.2f}")
return beta_psd, alpha_psd, theta_psd