Skip to content
Snippets Groups Projects
Commit e2a5b604 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

change(signal): apply prepost by default

parent df58c878
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class Signal(BridgeH5):
def __getitem__(self, dsets: t.Union[str, t.Collection]):
"""Get and potentially pre-process data from h5 file and return as a dataframe."""
if isinstance(dsets, str): # no pre-processing
df = self.get_raw(dsets)
df = self.apply_prepost(dsets)
return self.add_name(df, dsets)
elif isinstance(dsets, list): # pre-processing
is_bgd = [dset.endswith("imBackground") for dset in dsets]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment