Declare and manage a new density channel type which can be instantiated in sections with the insert statement. After the type comes into existence it is always a valid type and the conductance style, ligands, name, gating functions, etc can be changed at any time. The type cannot be destroyed.
This is an extension of the KSChan managed by the Java catacomb channel builder tool for the past several years. The primary functional extension is the ability to define HH-style gates in addition to kinetic scheme gates. The administrative extensions allowed a more convenient re-implementation of the channel builder gui in NEURON --- albeit substantially similar. The KSChan KSChan.setstructure() method uses a slightly modified vector format so the old Java channelbuilder tool will not work without updating the Java implementation.
kschan.remove_transition(index)
kschan.remove_transition(kstrans)
kstrans = kschan.add_transition(src_index, target_index)
kstrans = kschan.add_transition(src_ksstate, target_ksstate)
kstrans = kschan.trans(index)
kstrans = kschan.trans(src_ksstate, target_ksstate)
See also
See also
See also