@ryinc I like the direction you're thinking
Sorry @andrifeldmann, this ended up a bit of a side-track, but hopefully informative to the broader context of what you're working on here 
Quote:
"The 60 second window seems somewhat arbitrary"
Yeah. It depends predominantly on the muscle being investigated, the exercise modality, and the interval duration, but a flat 60-120 second window to exclude onset kinetics is probably the most parsimonious solution for now. For example, in cycling with 5-min work intervals I cut off a full 120-sec to make sure I exclude occasionally complex onset kinetics (see below) and account for only the pseudo-steady-state behaviour of the plateau response. But that's probably excessive for a 3-min interval.
One could use changepoint detection to try and systematically pick up the transition from onset kinetics to the plateau response, but that approach can be quite unreliable given the variability in NIRS signals (again, see below) I'm definitely not an expert at working with non-linear modelling yet. Learning slowly. Maybe you have some experience or other thoughts on this?
In some cases the onset kinetics are more complex, and I've wondered whether eventually it will make sense to parameterise the full work response with splines, or even model the underlying components of O2 delivery & extraction (eg. bi-exponential?) that contribute to the SmO2 signal.
Example below of some interesting complex onset kinetics behaviour during cycling in heavy intensity domain (between first and second thresholds, where all the fun, complex metabolic shifts occur). We can see the complex kinetics here simplify-out once the subject reaches severe intensity domain, determined by gas exchange and lactate (not shown). Red is simple loess regression, not a true non-linear parameterisation.
Quote:
The analysis also made me wonder whether a monotonically increasing intensity protocol is most suitable. As just one example it may be interesting to have a protocol which increases and then reduces intensity to give additional points in the regression analysis.
Yes, you're right. It is interesting! Probably for a different thread though 