data_basedb_initializersload_simrun_generalmetadata_utilscreate_metadata

create_metadata

data_base.db_initializers.load_simrun_general.metadata_utils.create_metadata(db)

Generate metadata out of a pd.Series containing the sim_trial_index.

Expands the sim_trial_index to a pandas Series containing the path, trial number, and filename of the voltage traces file. After running this method, the database contains:

  • sim\_trial\_index A pandas series containing the sim_trial_index.

  • simresult\_path Path to the simulation results folder.

Parameters:

db (ISFDataBase) – The target database that should contain the parsed simulation results.

Returns:

A pandas dataframe containing the metadata.

Return type:

pd.DataFrame