so this function needs some work yet - and is in the state of the year 2000 version of the Octave code." I would not like to use it if there is another option. However, since in the documentations of filtfilt there is ". How do I run a high pass or low pass filter on data points in R?Īlso according to the answers in the linked post, I would have to use W = 0.4 to achieve a 50 Hz lowpass filter when using the function filtfilt to avoid phase distortion. However, this will result in a phase distortion as, for example, shown in this post: Is the following correct? bf <- butter(n = 1, w = 0.2, type = "low", plane = "z") ![]() I tried using the package signal.Īs I understood, when using a Butterworth filter with my sampling frequency of 500 Hz, I would have to use W = 0.2 to achieve a 50 Hz lowpass filter. I am struggeling to set up a 50 Hz lowpass filter in R. I have computed the velocity of the eye-movements and now I would like to apply a 50 Hz low pass filter to the velocity profiles (as have other researchers, for example Jainta, Hoormann, & Jaschinski (2007)). I have collected eye-tracking data with 500 Hz sampling frequency.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |