Fusion Run Data Graphs

17 11 2009

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.


About these ads

Actions

Information

One response

18 11 2009
FAMULUS

It seems the kilovolt readings are way off. I’ve added an adjustment factor to the code for the next run.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

Join 680 other followers

%d bloggers like this: