make_fixed_length_epochs() should allow for custom specification of the event ID
See original GitHub issueCurrently, make_fixed_length_epochs()
assigns all events the ID 1
.
make_fixed_length_events()
, on the other hand, already supports user-defined IDs.
It would be good to add a parameter to make_fixed_length_epochs()
, allowing users to pass a custom event ID.
This was brought up on the forum, https://mne.discourse.group/t/fixed-epochs-and-fixed-events/3702
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
mne.Epochs — MNE 1.2.2 documentation - MNE-Python
Reject epochs based on maximum peak-to-peak signal amplitude (PTP), i.e. the absolute difference between the lowest and the highest signal value ...
Read more >Pendo Help Center
Returns the id for the visitor currently being applied to any events being sent to Pendo. Will always be set either by host...
Read more >Apache Beam Programming Guide
Apache Beam Programming Guide. The Beam Programming Guide is intended for Beam users who want to use the Beam SDKs to create data...
Read more >Clusters API 2.0 | Databricks on AWS
The maximum allowed size of a request to the Clusters API is 10MB. Cluster lifecycle methods require a cluster ID, which is returned...
Read more >Client-Server API - Matrix Specification
The client-server API allows clients to send messages, control rooms and synchronise ... Error codes defined by this specification should start M_ ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hoechenberger Not sure either about the issue encountered by OP on discourse. I was ticking on:
For me, my description above is not really an issue. I can think of one or 2 different ways to do it, and your proposition would work like a charm. I was wondering if this scenario was encountered often, especially in online paradigms or in paradigms that have an alternation of long phases; in which case, a specific function to create this type of fixed-length epochs could be a good addition to MNE. As OP wrote on Discourse:
Anyway, that said, and since I polluted a bit too much the discussion feed of this issue, I’ll add the additional parameter to
make_fixed_length_epochs()
to change the event ID; at least this small upgrade won’t be left out because of my post 😉Closed via #9782