Skip to content

added neuropixels in files - #188

Open
resatomo wants to merge 1 commit into
masterfrom
tomo-get_rawfiles_np
Open

added neuropixels in files#188
resatomo wants to merge 1 commit into
masterfrom
tomo-get_rawfiles_np

Conversation

@resatomo

@resatomo resatomo commented Nov 7, 2024

Copy link
Copy Markdown
Collaborator

for preprocessing neuropixels

@resatomo
resatomo requested a review from leoscholl November 7, 2024 19:19
Comment thread db/dbfunctions.py
files[df.system.name] = filepath

params = e.task_params
if 'neuropixel_port1_site' in params:

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.

in old data did you always have 'neuropixel_port1_site' or was it something else? maybe you could just check if 'neuropixel' is in e.features?

Comment thread db/dbfunctions.py

params = e.task_params
if 'neuropixel_port1_site' in params:
files['neuropixels'] = f'neuropixels/{str(e.date.date())}_Neuropixel_{e.subject.name}_te{e.id}'

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.

i'm confused about this part; shouldn't the filename be stored in files['neuropixel'] anyway? why do you have to do this manual lookup?

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.

I want to include a preproc function for neuropixels in proc_lfp function. and proc_lfp function requires files argument.

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.

3 participants