-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add plots #27
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #27 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 4 5 +1
Lines 95 157 +62
=========================================
+ Hits 95 157 +62 ☔ View full report in Codecov by Sentry. |
@@ -54,12 +58,76 @@ def calculate_voltages( | |||
) | |||
|
|||
|
|||
def calculate_optimal_voltages(file_path: str) -> np.typing.NDArray[np.float64]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could: use the pathlib library instead of strings to represent paths. Might be overkill, but could simplify the validation and logic you're doing in this file to manipulate strings representing paths. Also gives a nicer function signature eg: def read_bluesky_plan_output(filepath: str): ..
vs def read_bluesky_plan_output(filepath: Path): ..
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a ticket to do this. will implement once core functionality for the in-lab tests are completed
@@ -54,12 +58,76 @@ def calculate_voltages( | |||
) | |||
|
|||
|
|||
def calculate_optimal_voltages(file_path: str) -> np.typing.NDArray[np.float64]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should: Add docstring
Must add traces for both vltage calculations before merging. This requires the completion of #31 |
adding plot functionality and integrating into cli