dumping invalid data - maths channels
Posted: Fri Dec 09, 2016 1:13 pm
So sort of following up from my previous posts in relationship to base fuel mapping I'm now looking more seriously into interpreting logged data.
It's been mentioned by a few folks that it's a good idea to dump invalid data - in my example I'm only wanting to see lam1 when the throttle opening is changing at a low rate - it seems simple enough:
-I take the derivative of tps:
derivative(tps1)
-and apply to the lam1 data:
if(der_tps<10&&der_tps>-10,lam1,0)
This seems to roughly work - with one problem - where the lam1 reading is to be dumped I have to return a '0' value - I'd much rather return a null value and not plot at all - so far I've not found a way of achieving this - is there a way / is there a better approach.
Cheers,
-Ed.
It's been mentioned by a few folks that it's a good idea to dump invalid data - in my example I'm only wanting to see lam1 when the throttle opening is changing at a low rate - it seems simple enough:
-I take the derivative of tps:
derivative(tps1)
-and apply to the lam1 data:
if(der_tps<10&&der_tps>-10,lam1,0)
This seems to roughly work - with one problem - where the lam1 reading is to be dumped I have to return a '0' value - I'd much rather return a null value and not plot at all - so far I've not found a way of achieving this - is there a way / is there a better approach.
Cheers,
-Ed.