neat.CompartmentTree.setExpansionPoints

CompartmentTree.setExpansionPoints(expansion_points)[source]

Set the choice for the state variables of the ion channel around which to linearize.

Note that when adding an ion channel to the tree, the default expansion point setting is to linearize around the asymptotic values for the state variables at the equilibrium potential store in self.e_eq. Hence, this function only needs to be called to change that setting.

Parameters

expansion_points (dict {channel_name: None or dict}) – dictionary with as keys channel_name the name of the ion channel and as value its expansion point