improved est_amps with least squares
fixed est_amps in peak_shift
Improved arch detection to deal with odd numbers of peaks via taking care of half gaussians. Not yet tested.
Cleanup
Started on separating peaks. Haven't tested it yet. When the sum of gaussians fitting code in peak_shift_analysis is done, I will test peak separation, plot some peak positions vs snapshot numbers, and then cluster them. If that goes well, we will be able to move toward using regression to correlate the peak positions to external variables.
cleanup
merge conflict resolved
Revert "merge conflict resolved"

This reverts commit 11f50f8068857488777d1c0bfd88868b0c14c51c.
Revert "cleanup"

This reverts commit 4df4184ba68b1ff6ad27f9862ed1a66ca5d14fcb.
Revert "Improved arch detection to deal with odd numbers of peaks via taking care of half gaussians. Not yet tested."

This reverts commit db9ae47b51ec66098eb16af421ad392aec5dfe68.
Edited the main method
I had to revert this earlier commit, but it went wrong and I spent some time undoing my mistakes (yes, plural) and finally reverted the changes. Then I wrote up some more code in peak_shift_analyis and peak_tracking to integrate the 2 modules to work together. I did a bunch of testing and debugging (works to my knowledge, but I need to test a little more before I can be sure). I also graphed and clustered the results. Clustering is failing, however. For some reason currently unbeknownst to me, the clustering does not yield three vertical clusters when presented with 3 spaced out vertical lines of data but instead 3 horizontal clusters. When I flip the axes, the clusters flip too. I will look into it tomorrow. Also, once Lev is done with the arch labeling, we can test both files in their entirety. Currently peak shift analysis is just returning some dummy data to peak_tracking.
I tested GMM clustering on vertical lines. It works, as long as the y axis is not snapshot number, but the number divided by the number of snapshots. That way, the points get squished together so the clustering can distinguish those from the other vertical lines.
commiting for merging
scale space fix