Script execution
This commit is contained in:
@@ -21,12 +21,12 @@ print "Peak indexes: " + str(peaks)
|
||||
print "Peak x: " + str(map(lambda x:positions[x], peaks))
|
||||
print "Peak y: " + str(map(lambda x:readable[x], peaks))
|
||||
|
||||
|
||||
log("Highest peak index = " +str(peaks[0]))
|
||||
|
||||
gaussians = fit_gaussians(readable, positions, peaks)
|
||||
|
||||
|
||||
plots = plot([readable],["Multi-peak search"],[positions] )
|
||||
plots = plot([readable],["Multi-peak search"],[positions])
|
||||
for i in range(len(peaks)):
|
||||
peak = peaks[i]
|
||||
(norm, mean, sigma) = gaussians[i]
|
||||
|
||||
Reference in New Issue
Block a user