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

starting attrs integration #48

Merged
merged 6 commits into from
Aug 1, 2024
Merged

starting attrs integration #48

merged 6 commits into from
Aug 1, 2024

Conversation

schmidtfa
Copy link
Owner

This pr integrates attrs and closes #15

Copy link
Collaborator

@thht thht left a comment

Choose a reason for hiding this comment

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

lgtm

@schmidtfa
Copy link
Owner Author

I am also quite happy. I think not getting a huge tuple returned should improve the user experience quite a bit! The only thing I noticed is that test times increased quite a bit.. My guess is that this comes from me re-initializing PyrasaSpectrum objects in a loop in irasa_mne.irasa_epochs. Any ideas whether/how this can be improved @thht?

@schmidtfa schmidtfa merged commit 6d8fa14 into main Aug 1, 2024
5 checks passed
@schmidtfa schmidtfa deleted the add_attrs branch August 1, 2024 12:02
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.

Use attrs for lots of the return values
2 participants