-
Notifications
You must be signed in to change notification settings - Fork 34
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
Report artifact enhancements, README, Python 3.10.6 support #357
Conversation
TODO: verify with user data in field
@@ -15,7 +15,7 @@ class FileDialog(QWidget): | |||
|
|||
def __init__(self): | |||
super().__init__() | |||
self.title = 'PyQt6 file dialogs - pythonspot.com' |
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.
Good catch. Looks like that was left over from a copy-paste.
PEAK_THRESHOLD = 75e-7 | ||
PEAK_MIN_DURATION = 0.005 | ||
PEAK_THRESHOLD = 15e-6 | ||
PEAK_MIN_DURATION = 0.001 |
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.
It might be useful to have a comment or documentation somewhere about how these values were determined.
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.
I will add a comment; before we release 2.0, I am proposing a few enhancements to this module that should help with configuration and use. https://www.pivotaltracker.com/story/show/188483451
Overview
After meeting with the neurophysiology and clinical team, several changes were needed to support the new BciPy report. This fixes some errors found, sets new defaults, adds a demo, and cleans up some of the documentation. Upgrades MNE.
Ticket
(https://www.pivotaltracker.com/story/show/188110245)
Contributions
demo_calibration_report.py
: A demo to show how to run the action and allow the report to be generated offline in case of failures in the fieldbcipy/helpers/stimuli.py
: fix baseline designationbcipy/helpers/convert.py
: change the default to mV (most common).bcipy/gui/file_dialog.py
: allow for prompt in loading of directoriesbcipy/signal/evaluate/artifact.py
: WIP, change defaults, add more loggingbcipy/task/actions.py
: Update the BciPyCalibrationReport to prompt for the protocol directory if not provided. Pass the correct labels to visualize_erp. Add some logging.setup.py
: to include python 3.10.6. Note this breaks editable installs and some console scripting. However, much of the library would still work as a package. This is expected, even if undesired see 1 and 2. A ticket was created to refactor our builds to support future versions of python here. When upgrading to 3.11, we may have to lose support for 3.8. However, other dependencies can then be upgraded (mne, etc.).Test
make test-all
Documentation
Changelog