Skip to content

Software to convert/translate MDF data collection to NWB format and back

Notifications You must be signed in to change notification settings

pitt-rnel/MDF2NWB

Repository files navigation

MDF2NWB

MDF2NWB is a proof of concept, experimental tool for converting Multipurpose Data Framework (MDF) formats to Neurodata Without Borders (NWB) formats and vice versa.

Requirements

Exporting from MDF to NWB

% Make sure mdf2nwb is the current directory

grant = mdf.load('Replace with UUID of root Grant object');
nwbFile = exportToNWB(grant, './sparc-epidural/map.yaml');

Exporting from NWB to MDF

% Make sure mdf2nwb is the current directory
% Make sure sparc-epidural-alexanderkeith.nwb is in the current directory
% Make sure the directory MDFdatafile exists in the current directory

nwbFile = nwbRead('./sparc-epidural-alexanderkeith.nwb');
mdfObj = exportToMDF(nwbFile, './MDFdatafile')

About

Software to convert/translate MDF data collection to NWB format and back

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages