Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
update screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsmia1939 committed Nov 30, 2022
1 parent b47f42e commit 4ecf358
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PySimpleCV/PySimpleCV
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cv_layout = [
[sg.Text('Top peak position'),sg.Slider(range=(1, 1), size=(95, 10), orientation='h', key='peak_pos', enable_events=True, disabled=False)],
[sg.Text('Bottom peak position'),sg.Slider(range=(1, 1), size=(95, 10), orientation='h', key='trough_pos', enable_events=True, disabled=False)],

[sg.Button('Clear plot', key='cv_clear'),sg.Button('Exit', key='exit'),sg.Button('Save plot', key='save_cv'),sg.Button('About PySimpleCV'),sg.Spin([i for i in range(1,11)], initial_value=10, k='-SPIN-')]
[sg.Button('Clear plot', key='cv_clear'),sg.Button('Exit', key='exit'),sg.Button('Save plot', key='save_cv'),sg.Button('About PySimpleCV')]
]

bat_layout = [
Expand Down Expand Up @@ -176,7 +176,7 @@ while True:
low_range_peak, high_range_peak, peak_volt, peak_curr, low_range_trough, high_range_trough, trough_volt, trough_curr = get_CV_peak(df_CV, peak_range, peak_pos, trough_pos)

ax_cv.plot((volt[low_range_peak],volt[high_range_peak]),(current[low_range_peak],current[high_range_peak]),"|", markersize = 10)
ax_cv.plot(peak_volt,peak_curr,"*", markersize = 10)
ax_cv.plot(peak_volt,peak_curr,"x", markersize = 10)

ax_cv.plot((volt[low_range_trough],volt[high_range_trough]),(current[low_range_trough],current[high_range_trough]),"|", markersize = 10)
ax_cv.plot(trough_volt,trough_curr,"x", markersize = 10)
Expand Down
Binary file modified data/screenshot/battery_screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/screenshot/cv_screenshot.png
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 4ecf358

Please sign in to comment.