Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PID-Analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def plot_all_noise(self, traces, lims): #style='fancy' gives 2d hist for respons
meanspec_max = np.max(meanspec*mask[:-1])

if not self.check_lims_list(lims):
lims=np.array([[1,max_noise_gyro],[1, max_noise_debug], [1, max_noise_d], [0,meanspec_max*1.5]])
lims=np.array([[1,20],[1, 20], [1, 20], [0,meanspec_max*1.5]])
if lims[0,1] == 1:
lims[0,1]=100.
if lims[1, 1] == 1:
Expand Down Expand Up @@ -964,7 +964,7 @@ def clean_path(path):
default=os.path.join(os.getcwd(), 'Blackbox_decode.exe'),
help='Path to Blackbox_decode.exe.')
parser.add_argument('-s', '--show', default='Y', help='Y = show plot window when done.\nN = Do not. \nDefault = Y')
parser.add_argument('-nb', '--noise_bounds', default='[[1.,10.1],[1.,100.],[1.,100.],[0.,4.]]', help='bounds of plots in noise analysis. use "auto" for autoscaling. \n default=[[1.,10.1],[1.,100.],[1.,100.],[0.,4.]]')
parser.add_argument('-nb', '--noise_bounds', default='[[1.,20.],[1.,20.],[1.,20.],[0.,4.]]', help='bounds of plots in noise analysis. use "auto" for autoscaling. \n default=[[1.,10.1],[1.,100.],[1.,100.],[0.,4.]]')
args = parser.parse_args()

blackbox_decode_path = clean_path(args.blackbox_decode)
Expand Down Expand Up @@ -1031,4 +1031,4 @@ def clean_path(path):
plt.show()
else:
plt.cla()
plt.clf()
plt.clf()