FIR model - ability to alter the duration of the bins and the range of the bins you want for the beta values #29

Closed
opened 2025-10-15 12:11:55 -07:00 by cjburke · 2 comments
Collaborator

Instead of taking the beta from all ## of total bins created by the FIR model, an option to only be able to average across the bins that you want the response from.
Santosa et al., 2018 — The NIRS Brain AnalyzIR Toolbox (methods paper & manual). They explicitly show forming contrasts over a window of bins, e.g. taskA[4:10] or taskA[2:8s], and even handle non-integer window boundaries by weighting edge bins (e.g., c = [0 0.2 0.8 1 1 1]).
Yang et al., 2016 — PNAS (infant color perception). They bin the NIRS data in 2-s bins and then select a time window for statistical evaluation (i.e., analyze a defined subset, not all bins).

Instead of taking the beta from all ## of total bins created by the FIR model, an option to only be able to average across the bins that you want the response from. Santosa et al., 2018 — The NIRS Brain AnalyzIR Toolbox (methods paper & manual). They explicitly show forming contrasts over a window of bins, e.g. taskA[4:10] or taskA[2:8s], and even handle non-integer window boundaries by weighting edge bins (e.g., c = [0 0.2 0.8 1 1 1]). Yang et al., 2016 — PNAS (infant color perception). They bin the NIRS data in 2-s bins and then select a time window for statistical evaluation (i.e., analyze a defined subset, not all bins).
cjburke added the Kind/Feature
Priority
High
2
labels 2025-10-15 12:12:10 -07:00
tyler added the
Reviewed
Confirmed
1
label 2025-10-15 13:41:25 -07:00
tyler added reference main 2025-10-15 13:41:48 -07:00
Owner

Will be added in the next release.

Will be added in the next release.
Owner

The fix is a workaround. The images utilizing contrast data will have their visualizations updated to be the average over the specified bins, but the actual model is still 15 seconds.

The fix is a workaround. The images utilizing contrast data will have their visualizations updated to be the average over the specified bins, but the actual model is still 15 seconds.
tyler closed this issue 2025-10-15 17:12:49 -07:00
Sign in to join this conversation.