Repository navigation
DOC: clarify add_reference_channels usage (Takeover #13664) - #13846
Conversation
|
Hey @Dpereaptkhamur-13 , I believe you don't have an account on circle ci that's why those checks are failing , login into your account & those tests will pass ! |
|
Hi @HansujaB, thank you for the tip! I have now logged into CircleCI and authorized the account. The tests should be ready to run once a maintainer approves the workflow. Thanks again for the help! |
|
Hi @tsbinns, thank you for the detailed feedback! That makes complete sense—moving the clarification to set_eeg_reference and the tutorials ensures it's visible to users regardless of which function they check first. I will update mne/utils/docs.py and the preprocessing tutorial file accordingly. I'll ping you again once the changes are pushed! |
fix: correct typo in docs.py Co-authored-by: Thomas S. Binns <[email protected]>
doc: reformat reference channel note for clarity Co-authored-by: Thomas S. Binns <[email protected]>
|
I've updated the changelog filename to 13846.other.rst and included the :newcontrib: tag with my name. I also alphabetized the bibliography and removed the extra blank lines in channels.py. Everything should be ready for a final review! |
tsbinns
left a comment
There was a problem hiding this comment.
@Dpereaptkhamur-13 Thanks for the changes, but there were some comments which were not adressed. Please address these now, as well as some final additional things.
Add notes to :func:`~mne.set_eeg_reference` and :ref:`_tut-set-eeg-ref` about the correct procedure to create an average reference, by :newcontrib:`Deep Kaur`. Co-authored-by: Thomas S. Binns <[email protected]>
Co-authored-by: Farzah11 <[email protected]>
|
@larsoner something is weird with CircleCI on this PR. https://app.circleci.com/pipelines/github/Dpereaptkhamur-13/mne-python/23
any idea why, or how to fix? |
|
I've just pushed an empty commit to see if it triggers the CircleCI workflow correctly on this end. Let me know if that helps or if there's anything else I should try! |
|
Docs build fixed itself somehow 🤷🏻 Pushed some small fixes and inspected the built docs. Marking for merge when green. Thanks @Dpereaptkhamur-13! |
|
🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪 |
Reference issue (if any)
What does this implement/fix?
This PR completes the documentation clarification for add_reference_channels originally started in #13664. It addresses the mathematical requirements for average referencing in the docstrings, as requested in issue #13618.
Changes include:
Additional information