Skip to content
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

Solving issue #13122: Aiming to achieve better sensitivity of head movement detection for chpi extraction #13123

Merged
merged 5 commits into from
Feb 26, 2025

Conversation

shresth-keshari
Copy link
Contributor

Reference issue

Fixes #13122 👍 : Insufficiently sensitive head movement detection for chpi extraction.

What does this implement/fix?

This implement fixes the issue of waiting for all the head coordinates to change from a previous frame in order to detect change. It'll now detect changes even for any head coordinate changes.

Changes were made according to the requirement in the issue. { np.all --> np.any }
image

Additional information

This is my first PR to MNE-Python repository, aimed towards contributing in GSOC'25.
Please let me know if there are any further requirement for changes in the current implementation..

Copy link

welcome bot commented Feb 23, 2025

Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴

@larsoner
Copy link
Member

Can you add a doc/changes/devel/13122.bugfix.rst with a line like

Fixed CTF cHPI coil location detection in :func:`mne.chpi.extract_chpi_locs_ctf` by :newcontrib:`Shresth Keshari`.

and then add your name + url to doc/changes/names.inc?

Copy link
Member

@larsoner larsoner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, marking for merge-when-green and approved the CI run. Thanks in advance @shresth-keshari !

@larsoner larsoner enabled auto-merge (squash) February 26, 2025 16:13
@larsoner larsoner merged commit c0f1665 into mne-tools:main Feb 26, 2025
30 checks passed
Copy link

welcome bot commented Feb 26, 2025

🎉 Congrats on merging your first pull request! 🥳 Looking forward to seeing more from you in the future! 💪

@shresth-keshari
Copy link
Contributor Author

Thank you so much, @larsoner.
Got to know about GSOC quite recently, looking forward to receiving guidance from you!

@shresth-keshari
Copy link
Contributor Author

Thank you so much, @larsoner. Got to know about GSOC quite recently, looking forward to receiving guidance from you!

@larsoner received the reply on mail. Thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Insufficiently sensitive head movement detection for chpi extraction?
2 participants