Page 1 of 1

dumping invalid data - maths channels

Posted: Fri Dec 09, 2016 1:13 pm
by dr_jones
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.

Re: dumping invalid data - maths channels

Posted: Fri Dec 09, 2016 1:26 pm
by RICE RACING
This one works for me ;)
but the term you want is 'undefined()

if("derivative engine speed">0 & "derivative engine speed" <3000 & "derivative tps" < 25
& "derivative tps" > -15 & "derivative speed" > -1.5
& "derivative speed" < 50
& trqFuelSev<0.5 & tcSpinErr < tcSpinTarg,lam1,undefined())

Image

Re: dumping invalid data - maths channels

Posted: Fri Dec 09, 2016 2:06 pm
by dr_jones
Fab! Thanks!!!

Re: dumping invalid data - maths channels

Posted: Sat Dec 10, 2016 5:02 am
by RICE RACING
dr_jones wrote:Fab! Thanks!!!
Not Sure if you have this already? http://www.liferacing.com/wp-content/do ... -08-12.pdf
Image
Read all that and you should be right, as Dr Lexus says......
Image
Learning all this can seem too much at first but after the major upgrayedd you will be feeling the love, opening up a whole new world to you.
Image

Re: dumping invalid data - maths channels

Posted: Sat Dec 10, 2016 4:57 pm
by dr_jones
LOL - and no I did not - thanks again!