def update_electrode_powers(self, d_raw: np.ndarray, d_preproc: np.ndarray):
    '[track exp-weighted-moving average centered power for 2 input streams]\n\n        Args:\n            d_raw (np.ndarray): [description]\n            d_preproc (np.ndarray): [description]\n\n        Returns:\n            [type]: [description]\n        '
    if (self.raw_power is None):
        (mu_hl, pow_hl) = self.noise2sig_halflife_ms
        self.raw_power = power_tracker(mu_hl, pow_hl, self.raw_fs)
        self.preproc_power = power_tracker(mu_hl, pow_hl, self.fs)
    self.raw_power.transform(d_raw)
    self.preproc_power.transform(d_preproc)
    return (self.raw_power.power(), self.preproc_power.power())
[track exp-weighted-moving average centered power for 2 input streams]

Args:
    d_raw (np.ndarray): [description]
    d_preproc (np.ndarray): [description]

Returns:
    [type]: [description]
def update_electrode_powers(self, d_raw: np.ndarray, d_preproc: np.ndarray):
    '[track exp-weighted-moving average centered power for 2 input streams]\n\n        Args:\n            d_raw (np.ndarray): [description]\n            d_preproc (np.ndarray): [description]\n\n        Returns:\n            [type]: [description]\n        '
    if (self.raw_power is None):
        (mu_hl, pow_hl) = self.noise2sig_halflife_ms
        self.raw_power = power_tracker(mu_hl, pow_hl, self.raw_fs)
        self.preproc_power = power_tracker(mu_hl, pow_hl, self.fs)
    self.raw_power.transform(d_raw)
    self.preproc_power.transform(d_preproc)
    return (self.raw_power.power(), self.preproc_power.power())