single_cell_parser
❭ cell_parser
❭ CellParser
❭ insert_membrane_properties
CellParser.insert_membrane_properties¶
- single_cell_parser.cell_parser.CellParser.insert_membrane_properties(label, props)¶
Inserts membrane properties into all structures named as
label
.- Parameters:¶
label (str) – Label of the structure.
props (dict |
ParameterSet
) – Membrane properties. Keys namedspines
orions
are ignored, as they are taken care of byinsert_range_mechanisms()
and_insert_ion_properties()
.
- Raises:¶
RuntimeError – If the structure has not been parsed from the .hoc file yet.