I know the PSD can be computed using either psd_welch or psd_multitaper.
And the average band power power, which equal to an area under certain region, can be calculated using the module simps of the scipy.
from scipy.integrate import simps
# Frequency resolution
freq_res = freqs[1] - freqs[0] # = 1 / 4 = 0.25
# Compute the absolute power by approximating the area under the curve
delta_power = simps(psd[idx_delta], dx=freq_res)
But, I am wondering whether there is any build module to compute the absolute or relative band power of a signal. This question is especially of great interest since I would like to get the absolute power per channel and per epoch
Appreciate if someone can point me to the appropriate material/link