Menu

#18 Mains / muscle filters

Next Release
pending
None
5
2020-09-30
2019-06-29
rab
No

Would it be possible to implement mains (50/60Hz) filters and muscule filters? These artifacts are captured by my ECG machine and saved in the SCP file by CardioView. CardioView can filter them out for display/printing etc, but doesn't export filtered versions, so the artifacts are visible when loaded in ECGViewer.

Discussion

  • MJB van Ettinger

    Sorry to say I'm not an expert in implementing filters. Would be a nice additional feature, but don't think I will be able to add this properly myself.

     
  • MJB van Ettinger

    I've found an example for a Butterworth-filter (independent of sample rate) on codeprojects which looks to do the trick, are you still interested in filter capabilities for the ECGViewer? I think you would like to have 0.1-40 Hz bandpass-filter or do you want something else?

     
  • MJB van Ettinger

    • assigned_to: MJB van Ettinger
     
  • rab

    rab - 2020-01-11

    Yes, still interested, thanks for looking in to it. CardioView defines it's muscle filter as 0.05-35Hz so I'm sure 0.1-40Hz would be fine. It also has mains filter which is 50/60Hz according to local mains frequency (manually chosen in options).

     
  • MJB van Ettinger

    • status: open --> pending
     
  • MJB van Ettinger

    Added quite some code to enable filtering in ECGViewer and PDF export. Will be part of next release. I'm not sure when the next release will be, but probably somewhere in the next 4 weeks.

     
  • rab

    rab - 2020-01-23

    This looks very good from a quick play, as soon as I get chance I'll try and compare the results with Cardio View.

     
  • MJB van Ettinger

    Great to get feedback before next release, so let me know what your comparison shows.

    Also I just read your orignal request again and do you also want to be able to export the signals after applying a filter?

     

    Last edit: MJB van Ettinger 2020-01-23
  • rab

    rab - 2020-01-27

    I've attached some shots showing the result, compared with cardio view. The muscle filter looks like it's producing the same result as CV, so that's great - thanks! Is there any chance of a 50/60hz filter for mains though? I've included screenshots of that as well for comparison.

    I don't particuarly need to re-export the raw data with filters applied, but would like to be able to export to pdf with the filters.

     

    Last edit: rab 2020-01-27
  • MtwStark

    MtwStark - 2020-09-30

    Hello,
    I have implemented the 50/60Hz filter in 2.4 version in my last work place.

    I had to add my own support for filtering but I think there is something reusable.

    If you still need it I can share my source and my knowledge.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.