{
init {
xx<-c();
yy<-c();
count<-0;
}
finalise {
xx <- samples(SECS);
yy <- XDATA("EXTRA", "STEPLENGTH", interpolate);
}
x { xx; }
y { yy; }
}
finalise {
xx <- samples(SECS);
yy <- samples(XDATA("EXTRA", "STEPLENGTH" secs));
}
{
init {
vv<-c();
oo<-c();
xx<-c();
yy<-c();
count<-0;
}
relevant {
XDATA("DEVELOPER", "CADENCE-2", repeat);
}
finalise {
vv <- samples(SPEED);
xx <- xdata("EXTRA", secs);
oo <- SECS;
yy <-30*(vv*1000/3600)/((xdata("DEVELOPER", "CADENCE-2"))/oo)*1000;
}
x { xx; }
y { yy; }
}
Many thanks
Pepe
Hi Ale,What if we want to calculate Step Length from Speed (Basic Data) and from CADENCE-2(DEVELOPER) both fields feeded from Stryd data. Each with its own time base, i supose.Does a formula like the following makes any sense?
It seems to work, but
relevant {
XDATA("DEVELOPER", "CADENCE-2", repeat);
}
finalise {
vv <- samples(SPEED);
xx <- xdata("EXTRA", secs);
oo <- SECS;
yy <-30*(vv*1000/3600)/((xdata("DEVELOPER", "CADENCE-2"))/oo)*1000;
}
x { xx; }
y { yy; }
}