Skip to content

NWB export function #6

@CBroz1

Description

@CBroz1

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions