Here are graphs from the fusion run. The x-axis is time in minutes.
I used google charts to produce these graphs. This code produces the chart from data in mysql. This code transforms the voltage reading to its corresponding instrument value.
I did a quick and dirty downsampling like this:
resamples = samples.in_groups_of(samples.size/number_of_data_points).map{|slice| slice.average rescue 0}
I’m not certain this is all working correctly, but it seems to add up. One oddity: the voltage drops into the negative; perhaps from disabling the high voltage, I’ll have to confirm that.
This is primarily an end to end test of the data acquisition system.
It seems the kilovolt readings are way off. I’ve added an adjustment factor to the code for the next run.