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

Feat/visualization #258

Merged
merged 25 commits into from
Mar 27, 2024
Merged

Feat/visualization #258

merged 25 commits into from
Mar 27, 2024

Conversation

gcattan
Copy link
Collaborator

@gcattan gcattan commented Mar 23, 2024

Create a module to hold our visualization utils:

  • distances histogram (by @qbarthelemy)
    image

  • scatter plot of the distances:
    image

  • plot SPDs matrices in 3d cartesian coordinates:
    image

image

@gcattan gcattan requested review from qbarthelemy and toncho11 March 24, 2024 12:55
@gcattan gcattan marked this pull request as ready for review March 24, 2024 12:55
Copy link
Member

@qbarthelemy qbarthelemy left a comment

Choose a reason for hiding this comment

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

Minor comments.

pyriemann_qiskit/utils/math.py Outdated Show resolved Hide resolved
pyriemann_qiskit/visualization/distances.py Outdated Show resolved Hide resolved
pyriemann_qiskit/visualization/manifold.py Outdated Show resolved Hide resolved
pyriemann_qiskit/visualization/manifold.py Outdated Show resolved Hide resolved
gcattan and others added 6 commits March 26, 2024 13:09
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
@@ -17,6 +17,6 @@ qiskit-optimization==0.5.0
qiskit-aer==0.12.2
scipy==1.11.4
moabb>=1.0.0
pyriemann==0.5
git+https://github.com/pyRiemann/pyRiemann#egg=pyriemann
Copy link
Member

Choose a reason for hiding this comment

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

Can you apply the same modification in setup.py ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unfortunately, I don't think it will be possible to publish on pypi if we point to the dev version in the setup.py.

@gcattan
Copy link
Collaborator Author

gcattan commented Mar 26, 2024

Conflict with pyRiemann and moabb:

image

examples/ERP/distances_visualization.py Outdated Show resolved Hide resolved
pyriemann_qiskit/visualization/manifold.py Outdated Show resolved Hide resolved
gcattan and others added 2 commits March 27, 2024 20:50
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
@gcattan gcattan merged commit a28cc44 into pyRiemann:main Mar 27, 2024
13 checks passed
@gcattan
Copy link
Collaborator Author

gcattan commented Mar 27, 2024

Thanks @qbarthelemy !

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.

2 participants