Yeah something like that would be useful.
I guess that’s what I’ve been trying to get at with the linear regression stuff though that doesn’t really capture the complexity of a given envelope/morphology. It’s just tricky to have some idea of “time” in these kinds of analyses.
I don’t really know enough about vector/spline stuff, but I imagine there might be a better way to represent “shape” in a complex but low dimensional way.
What you’re suggesting could be a simple but effective workaround to that. Having a set of “known” envelopes that are available to match against. And particularly given my typical analysis size (256samps), it’s not like there’d be a massive amount of variation there.