What happens when, and for how long?
April 24, 2006 10:46 AM
Subscribe
Are there any good tools out there for analyzing binary sensor data? I would like to create something like a timeline of data.
I am running a fairly large monte-carlo simulation in which the output of around 200 binary sensors is recorded. Most of the time, all of the sensors are "off." I need to better how the system goes from being all "off" to having some sensors "on."
Previously, I would visually grep through the SQL sensor logs and observe sensors turning on and off. I would like to create a visual representation of the sensors over time so that I can see the shape of the sensor clusters as they turn on and off.
It looks like it might be possible to trick Excel into doing this by explicitly computing the duration of the "off" events, and creating a stacked bar chart. Excel tends to fall over when dealing with really large data samples, so I would prefer to avoid it.
Is there a better way to do this with a tool like GnuPlot or R? I have decently powerful Windows, Linux and OSX machines at my disposal. I am capable of writing code, but would prefer to avoid doing so if this problem has already been solved.
To clarify - by "binary sensor data" I mean that the sensors are either on or off. The actual data is a SQL table with columns for sensor number, start time (in DMY/HMS plus another column for milliseconds) and end time (same format as start time) among others. The underlying data is actually not binary. Sensors take on a range of values, but I am currently examining the case where a given sensor crosses a threshold - yielding binary data.
posted by b1tr0t to computers & internet (7 comments total)
Is the sensor array something that can be graphically depicted in a one or two dimensional form? If it can be shown as a one dimensional string of data, then a time series of the data organized into a waterfall plot would seem to be a good visualization. If two dimensional, then modelling the data as a surface, with three axes labeled time, sensor, and on/off state might also yield a good visualization.
Care to share what the data represents or what tools you are familiar with?
posted by FauxScot at 12:45 PM on April 24, 2006