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

NWB export function #6

Open
CBroz1 opened this issue Jan 24, 2022 · 0 comments
Open

NWB export function #6

CBroz1 opened this issue Jan 24, 2022 · 0 comments
Labels
enhancement New feature or request NWB

Comments

@CBroz1
Copy link
Contributor

CBroz1 commented Jan 24, 2022

A precursor project established a mechanism for exporting trial data sets to NWB. We should incorporate something similar. NWB developers have released similar work for ndx-events.

from pynwb import NWBFile
from element_session import session
from element_trial import trial


def trial_to_nwb(trial_key):
    trial_query = session.Session & trial.TrialEvent & trial_key
    # more
    return NWBFile(trial_query)
@CBroz1 CBroz1 added the enhancement New feature or request label Jan 24, 2022
@kabilar kabilar added this to the NIH U24 Year 3 milestone Jan 24, 2022
@CBroz1 CBroz1 self-assigned this May 4, 2022
@CBroz1 CBroz1 added the NWB label May 6, 2022
@CBroz1 CBroz1 removed this from the 2022Q2 milestone May 6, 2022
@kabilar kabilar added this to the 2023Q2+ milestone May 9, 2022
@kabilar kabilar removed this from the 2023Q2+ milestone Feb 18, 2023
@CBroz1 CBroz1 removed their assignment Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request NWB
Projects
None yet
Development

No branches or pull requests

2 participants