# User:Brian P. Josey/Notebook/2010/04/28

Project name Main project page
Previous entry      Next entry

## Data Analysis and New Program

I am analyzing the data that I collected on Monday, to demonstrate that there is a significant difference between using a yoke, and using two different magnets on opposite sides of the sample. On Monday, I created a couple of simulations and I will analyze them to determine the difference and percent difference between the field strength and derivative of a simulation and a control.

One thing that I ran into and I have to keep track of is the range of my data. When I run the simulations in FEMM, I run them over the whole length of the gap. This gives me a greater picture of the field strength, but the set of data extends beyond the thickness of the flow cells where I run the experiment. This also posses another problem when I analyze the data: whenever one of the derivatives change from a positive to negative value, or negative to positive, this gives me a spike when I determine the percent difference on the derivative.

Because of this issue, I redeveloped my MATLAB code that I used to analyze the data and get it working in a new and cleaner way. I recoded most of the derivatives and the figures to focus in on the area between the edge of the cover slip and twice the distance the thickness of the centrifuge tube. With this data, I am then able to make a plot of the data that focuses in on the area the ferritin will be in. Here is a sample graph:

I created this graph to test my code as I worked on it. The data is completely arbitrary, a sine function, but it still illustrates what I am going for. The original function ran from 0 to 1, but here I focused in on the points between 0.1 and 0.25. With the simulations, I will focus in on the inside edge of the cover slip, on the left, and go to about twice the thickness of the wall of the thin-walled microcentrifuge tubes. This is assuming, of course, that the flow cell is pressed up against the tip of the cone magnet. The vertical red line represents where the liquid part of a flow cell will end, and the glass begins. So the area between the left end of the graph and the red line is the liquid part. The vertical black line represents where the tube wall ends, and the liquid begins, going off to the right.