mease_elabftw.nwb.create_pynwb

mease_elabftw.nwb.create_pynwb(nwb_metadata)

Transformes the nwb_metadata dict into a pynwb NWBFile. For this all dates must be converted to datetime and the weight back into a string. This is used for the validation function.

Parameters

nwb_metadata (dict) – The dictionary that is due to be exported to nwb_converter

Returns

The pynwb.NWBFile object.

Return type

pynwb.NWBFile