Skip to content

Update ecog visualization - #745

Open
ajm2605 wants to merge 5 commits into
masterfrom
update_ecog_visualization
Open

Update ecog visualization#745
ajm2605 wants to merge 5 commits into
masterfrom
update_ecog_visualization

Conversation

@ajm2605

@ajm2605 ajm2605 commented Mar 17, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@ajm2605
ajm2605 requested a review from leoscholl March 17, 2026 23:21
raise ValueError("annotation_style must be either 'text' or 'marker'.")

def annotate_spatial_map_channels(acq_idx=None, acq_ch=None, drive_type='ECoG244', theta=0, color='k',
def annotate_spatial_map_channels(acq_idx=None, acq_ch=None, electrode_idx=None, labels=None, drive_type='ECoG244', theta=0, color='k',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can you add a description for labels in the docstring?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Added description

Comment on lines +886 to +888
electrode_idx ((electrode_idx,) array or list, optional): If provided, specifies the electrode IDs (0-indexed) to
be annotated. Only the specified electrodes will be annotated, labeled by their electrode ID.
If neither acq_idx, acq_ch, nor elecs is provided, all channel numbers will be annotated by default.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

could say that the electrode_idx indexes into acq_ch? or is that confusing...
and/or maybe give an example of indexing into 240 ecog electrodes?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Does this sort of better explain what is happening?

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