allensdk.internal.api.queries.optimize_config_reader module¶
- class allensdk.internal.api.queries.optimize_config_reader.OptimizeConfigReader[source]¶
Bases:
object
- MOD_FILE_TYPE_ID = 292178729¶
- MORPHOLOGY_TYPE_ID = 303941301¶
- NEURONAL_MODEL_PARAMETERS = 329230374¶
- STIMULUS_CONTENT_TYPE = None¶
- lims_working_directory()[source]¶
While this is the same directory as the optimize directory, it can be mocked out for testing if the optimize directory is write only.
- mod_file_entries()[source]¶
read the NERUON .mod file entries from the lims result corresponding to the NeuronModel :return: well known file entries :rtype: array of dicts
- mod_file_paths()[source]¶
Get the paths to the mod files from the lims result. :return: paths to mod files :rtype: array of strings
- morphology_file_entries()[source]¶
read the well known file paths from the lims result corresponding to the morphology
- Returns:
- arrary of dicts:
well known file entries
- morphology_path()[source]¶
Get the path to the morphology file from the lims result. :return: path to morphology file :rtype: string
- neuronal_model_optimize_dir()[source]¶
read the directory path where output goes from the lims optimization config json
- Parameters:
- Returns:
- string:
directory path
- stimulus_file_entries()[source]¶
read the well known file path from the lims result corresponding to the stimulus file :return: well_known_file entries :rtype: array of dicts
- stimulus_path()[source]¶
Get the path to the stimulus file from the lims result. :return: path to stimulus file :rtype: string
- sweep_entries()[source]¶
read the sweep entries from the lims result corresponding to the stimulus :return: stimulus sweep entries :rtype: array of dicts