CellParser.update_range_mechanisms¶
- single_cell_parser.cell_parser.CellParser.update_range_mechanisms(label, updateMechName, mechs)¶
Updates range mechanism
updateMechNamein all structures named aslabel.This method is essentially the same as insert_range_mechanisms, but does not insert mechanisms. Instead assumes they’re already present.
Used during parameter variations; e.g. for optimization and exploration of neuron models (see
biophysics_fitting).- Parameters:¶
- label : str¶
Label of the structure.
- updateMechName : str¶
Name of the mechanism to update.
- mechs : NTParameterSet¶
Range mechanisms. Must contain the key
spatialto define the spatial distribution. Possible values for spatial distributions are given ininsert_range_mechanisms().
- Raises:¶
RuntimeError – If the structure has not been parsed from the .hoc file yet.
NotImplementedError – If the spatial distribution is not implemented.
Documentation unclear, incomplete, broken or wrong? Let us know