top of page

How to Filter Data and Correct Artifacts in AcqKnowledge

Steps 

Steps for an inverted QRS wave:

  1. Open AcqKnowledge

  2. Select “analyze only” and then click “ok” on the pop-up menu

  3. Change the file type to txt file, select your ECG file, and then click “open”

  4. Enter your sampling rate in milliseconds/sample for the sampling rate interval (250 Hz will be 4 ms/s) and click “ok”

  5. Go to “transform” -> “expression” and then enter “-CH0” into the box and click “ok”

  6. Minimize CH0 by clicking on the drop-down arrow in the left hand corner of the channel

  7. Click on CH1, resize the channel by entering ctrl+y.

  8. Relabel the left side of the channel with “ECG” and the right hand side with “mV”

  9. To filter the data, go to “transform” -> “digital filters”      -> “comb band stop” and click “ok”

Steps for a normal QRS wave:

 

  1. Open AcqKnowledge

  2. Select “analyze only” and then click “ok” on the pop-up menu

  3. Change the file type to txt file, select your ECG file, and then click “open”

  4. Enter your sampling rate in milliseconds/sample for the sampling rate interval (250 Hz will be 4 ms/s) and click “ok”

  5. Relabel the left side of the channel with “ECG” and the right hand side with “mV”

  6. To filter the data, go to “transform” -> “digital filters”      ->  “comb band stop” and click “ok”

After filtering:​

  1. Resize the dataset by going to “auto scale” and then entering ctrl+y

  2. Scan for artifacts

  3. Zoom in on artifacts using the zoom tool

  4. To correct a missed QRS peak, take the I-beam tool and highlight from one end of the peak to the next.

    1. Go to “transform” -> “waveform math”

    2. Make sure that

      1. Source 1 = the channel you are on

      2. Addition is selected

      3. Source 2 = K, a constant

      4. Destination = the channel you are on

    3. Enter a constant to add to the waveform and click “ok”

  5. To correct noise that could interfere with QRS detection, highlight from the end of one QRS peak to the start of the next QRS peak using the I-beam tool. 

    1. Go to “transform” ->  “math functions” ->  “connect endpoints”

  6. Repeat this process for any artifacts. Be sure to scan the entire waveform for artifacts before exporting.

  7. Remove any extraneous channels (otherwise these will be exported with the corrected channel) by selecting the channel you want to remove, and going to “edit” ->  “remove waveform”.

  8. Then, once you are ready to export go to “file” -> “save as” and select txt file from the file type menu. Name your file, then click “save” and then “ok”

Tutorial, Part 1 
Tutorial, Part 2
bottom of page