Is there anyone who would verify my code about filtering the fNIRS data?
hello,
my name is anna lee and my major is based on Human-Computer Interaction.
We use the Sectratech OEG-16 (fNIRS device) to analyze the relative change in hemoglobin levels.
To filter the raw data, we referenced many articles and built a matlab code with following procedure.
1.To eliminate the trends and do the DC offset,
we use the detrend function.
2. To eliminate the motion effects, do the Common average reference(CAR)
: (raw data - the total average of data)
3. Band-pass filtering (LPF 0.1hz/ HPF 0.01hz)
however, i am not sure whether i did right or not...
it would be much helpful if anyone would verify my code or give some comments
(i attached the matlab code)
Thansk :)