Add files via upload

This commit is contained in:
David Rotermund 2023-07-10 13:11:21 +02:00 committed by GitHub
parent 71c2784437
commit ac88600bb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1346,7 +1346,7 @@ class DataContainer(torch.nn.Module):
)
hb_d[:, chunk, :] = temp_filtfilt
hb_d = hb_d[start_position:, ...]
# hb_d = hb_d[start_position:, ...]
hb_d -= hb_d.mean(dim=0, keepdim=True)
self.logger.info(f"{self.level3} apply bandpass acceptor_residuum (filtfilt)")
@ -1363,7 +1363,7 @@ class DataContainer(torch.nn.Module):
)
hb_a[:, chunk, :] = temp_filtfilt
hb_a = hb_a[start_position:, ...]
# hb_a = hb_a[start_position:, ...]
hb_a -= hb_a.mean(dim=0, keepdim=True)
scale = (hb_a * hb_d).sum(dim=0) / (hb_a**2).sum(dim=0)