GregGoldman / void_analysis

1 stars 0 forks source link

line fitting: #4

Open GregGoldman opened 7 years ago

GregGoldman commented 7 years ago

worked on the function called improveMarkerAccuracy: uses slopes before and after markers to zero in on proper timing ISSUE: the data is very noisy. I'd like to do the fitting on the raw data. This does work, but every fit brings up an error. I've been using polyfit, and I get the following: Warning: Polynomial is badly conditioned. Add points with distinct X values, reduce the degree of the polynomial, or try centering and scaling as described in HELP POLYFIT.