mease_elabftw.nwb

Functions

create_pynwb(nwb_metadata)

Transformes the nwb_metadata dict into a pynwb NWBFile.

dict_to_string(dict)

Custom conversion method for dict to string.

get_nwb_metadata(experiment_id)

Collects metadata based on the experiment id and converts the weight to a float.

get_raw_nwb_metadata(experiment_id)

Collect metadata information from the given experiment id.

get_sample_nwb_metadata(experiment_id)

Returns sample NWB metadata for testing purposes without needing an ElabFTW token.

validate_pynwb_data(nwb_metadata)

Generates and validates the nwb_metadata with the pynwb validation tool.