Skip to content

AttributeError: 'bool' object has no attribute 'sum' #62

Closed Answered by raphaelvallat
PhD-GOAT asked this question in Q&A
Discussion options

You must be logged in to vote

Yes you can use the mne.io.read_raw_edf to load an EDF file, and then all the subsequent steps should be the same.

I think that there is something wrong with your hypno variable, it should be a vector and not a boolean (True / False).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PhD-GOAT
Comment options

Answer selected by remrama
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants