EIT-ALIVE / eitprocessing

Software for electrical impedance tomography data loading, visualization and processing
https://eit-alive.github.io/eitprocessing/
Apache License 2.0
5 stars 1 forks source link

Check for argument type in filter, to prevent trying to filter a data container #268

Open psomhorst opened 4 months ago

psomhorst commented 4 months ago

If you pass e.g. a ContinuousData object to LowPassFilter().apply_filter() the object itself is passed to the relevant scipy filter function. This won't have the expected result, but does not raise an exception. Instead, it keeps running for a long time.