Skip to content

Commit

Permalink
Add a "legend" of sorts to help for future debugging findstap_rect. F…
Browse files Browse the repository at this point in the history
…ix Wilson_error.py for the improved action.
  • Loading branch information
goracle committed May 30, 2016
1 parent ffda3a8 commit d9fd5f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.png
*.txt
*~
*.bak

# Precompiled Headers
*.gch
Expand Down
8 changes: 4 additions & 4 deletions Wilson_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ def read_data(filename):
x+=1
if(x%2==0):
y=line[29:36]
data1_org.append(float(y))
data2_org.append(float(y))
else:
y=line[28:36]
data2_org.append(float(y))
data1_org.append(float(y))
#data1_org.append(float(y))
#data_org_z.append(float(z))
#print type(line)
Expand All @@ -40,7 +40,7 @@ def mean_data(data):
sweep_itr = 50;


x,axa,2axa = read_data('results.txt')
x,axa,taxa = read_data('results.txt')
#print(y)
#print(z)
#plt.scatter(y,z)
Expand All @@ -53,6 +53,6 @@ def mean_data(data):
mean, std = mean_data(axa)
print "axa=(mean,std)"
print mean, std
mean, std = mean_data(2axa)
mean, std = mean_data(taxa)
print "2axa=(mean,std)"
print mean, std
Binary file added findstap_rect_legend.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d9fd5f4

Please sign in to comment.