Verena,
Please check out homer3 github wiki to see function details: https://github.com/BUNPC/Homer3/wiki/Processing-Functions
Bandpass_Filter_Auxiliary filters the auxiliary measurements, if any, saved in the snirf file, while bandpass_filter_opticaldensity filters all fNIRS measurements converted into OD.
Regarding the enprune function, these numbers are based on the range of raw intensity signal and depend on the system you are using. You may calculate, offline, your threshold from the raw signal depending on your criteria, and use those numbers as your range.
Hope this helps.
Meryem
--
You received this message because you are subscribed to the Google Groups "Homer-fNIRS and AtlasViewer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
homer-fnirs...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/homer-fnirs/91ee2ca4-97ca-492f-ac39-f36db3abed80n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/homer-fnirs/BLAPR03MB5618BB354AE26301F53E9D47DDE90%40BLAPR03MB5618.namprd03.prod.outlook.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/homer-fnirs/BLAPR03MB56189EC9D9157893623F8276DDE10%40BLAPR03MB5618.namprd03.prod.outlook.com.
Hi Verena,
The bandpass function expects all elements (time points) of the data to be finite. The OD input from your data has some “Inf” elements. That is why you are getting this error. And the Inf elements result from the negative values in raw intensity signal (d). One quick fix would be to add a dc offset to all your raw signal to get rid of any negative values. This should not affect your results as you would be looking at changes. Then the filter should work just fine. You can also check with the nirs company, regarding why the system outputs “negative intensity”.
To view this discussion on the web visit https://groups.google.com/d/msgid/homer-fnirs/CAGJ5yVA20i5Nn8j%3DrrwM5egF5q7nwSdkpLeeWrAqLRr9mbbomA%40mail.gmail.com.