emodelrunner.factsheets.experimental_features¶
Functionality to fetch the experimental features and parameters from the json files.
Functions
|
Returns a dict containing mean and std of experimental features and model fitness. |
|
Return dict containing one feature. |
Returns the morphology name from finals.json used in model fitting. |
- emodelrunner.factsheets.experimental_features.get_exp_features_data(emodel, morphology_prefix, features_dict, optimized_params_dict)[source]¶
Returns a dict containing mean and std of experimental features and model fitness.
- Parameters:
emodel (str) – name of the emodel
morphology_prefix (str) – prefix used in the fitness key to the feature
features_dict (dict) – contains the features
optimized_params_dict (dict) – contains the optimized parameters, as well as the original morphology path
- Returns:
dict containing the output feature dicts and the original morph name used in model fitting
- emodelrunner.factsheets.experimental_features.get_feature_dict(feature, morphology_prefix, stimulus, location, fitness)[source]¶
Return dict containing one feature.
- Parameters:
feature (dict) – contains feature name and mean and std of feature
morphology_prefix (str) – prefix used in the fitness key to the feature
stimulus (str) – name of the stimulus used for this feature
location (str) – name of the location for which the feature is calculated
fitness (dict) – contains the fitness of the feature
- Returns:
dict containing name, values, unit and model fitness of the feature
- emodelrunner.factsheets.experimental_features.morphology_used_in_fitting(optimized_params_dict, emodel)[source]¶
Returns the morphology name from finals.json used in model fitting.
- Parameters:
optimized_params_dict (dict) – contains the optimized parameters, as well as the original morphology path
emodel (str) – name of the emodel
- Returns:
the original morphology name used in model fitting
- Return type:
str