You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added transStart to the csv logs and tried to plot the raw data and it doesn't seem to line up with the falloff-point. Here's the transStart from OSLTT in green compared to fall-off point from my code as red:
Hope I haven't missed something trivial. The only weirdness (without blaming the classification itself) I noticed was this:
Ran a quick test and I'm getting as near as possible to the transition start on the data I've got anyway. Can you send me the raw data you're using so I can test it here?
Had a further look and had it output the smoothed data, and it is spot on using that reference. This image is the second transition in your file, and visually the transition starts at point 386, which is exactly where the code picked for it. It's just the moving average filter shifting the data slightly.
Yeah, but that one is very close in my graph as well - I too classify filtered, just present it raw, I classify that one as 391. How does the others fare?
Gotcha. It's getting late here so I'll have a proper look over the weekend, but my current guesstimate is that because the light level is so low (it's a 14 bit number so goes up to ~16000), and the processing code has a couple of hardcoded variables for essentially the sensitivity it's pinging too early on this data set. I'll have a better look when I'm a little more awake and see what I can do.
Hi there, I've had a look and I was right, especially for falling transitions the processing code was a little too sensitive when running at such a relatively low brightness. I've pushed a fix that helps get it as close to spot on as I can for now.
Activity
andymanic commentedon Sep 26, 2025
Ran a quick test and I'm getting as near as possible to the transition start on the data I've got anyway. Can you send me the raw data you're using so I can test it here?
dsvensson commentedon Sep 26, 2025
Here's the data behind above graphs:
OSLTT-LIGHT-001-RAW-OSLTT.csv
OSLTT-LIGHT-001-PROCESSED-OSLTT.csv
The last one has the two extra columns compared to release:
ProcessData::processInputLagData'stransStartsamples[transStart]andymanic commentedon Sep 26, 2025
dsvensson commentedon Sep 26, 2025
Yeah, but that one is very close in my graph as well - I too classify filtered, just present it raw, I classify that one as 391. How does the others fare?
So my attached images are at offsets:
andymanic commentedon Sep 26, 2025
Gotcha. It's getting late here so I'll have a proper look over the weekend, but my current guesstimate is that because the light level is so low (it's a 14 bit number so goes up to ~16000), and the processing code has a couple of hardcoded variables for essentially the sensitivity it's pinging too early on this data set. I'll have a better look when I'm a little more awake and see what I can do.
andymanic commentedon Sep 27, 2025
Hi there, I've had a look and I was right, especially for falling transitions the processing code was a little too sensitive when running at such a relatively low brightness. I've pushed a fix that helps get it as close to spot on as I can for now.
dsvensson commentedon Sep 27, 2025
Great, you probably also want to add the
periodnumber of samples you skip here:OSLTT/OSLTT/ProcessData.cs
Line 99 in 427bca1
...to the
transStartlater on. A few microseconds lower lag otherwise right?