# User:TheLarry/Notebook/Larrys Notebook/2009/06/10

### From OpenWetWare

Project name | Main project page Previous entry Next entry |

## Fixing the bug from yesterdaySo there is a problem with my software. Specifically how I find edges. This is evident in the graph i posted yesterday. It might be fixable if I take the polynomial to more degrees or if i switch from polynomial to another equation, but i think it is more likely that I ditch the whole idea of fitting it to a function. If I make it binary I can just use a particle analysis .vi to find first pixel. I'll lose the back information, unless I rotate it..hmmm...anyways--fitting it to a function may still work. I just may have to do it smarter say write a function that finds the middle of the MT from its coordinates. But i'll try using this .vi instead I am not giving up on the polynomial method. Well not entirely. If I can write a sub.vi that will track a line through the center of the outline of the particle that would be the best and might also work with MTs that turn 360 degrees or 2 Pi radians.
Fuck Sparingly |