-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The nml/lems generator at the kiss branch is currently aiming for a Component that can be directly insert into a 'regular' NeuroML cell (mainly for testing purposes) - i.e. an instance of something that extends baseIonChannel. That means its main task is exposing fcond (product of gating variables with respective exponents) to be used by components upstream to calculate the current (even though mod mechanisms calculate currents themselves). It also means we have to insert ad-hoc definitions (unrelated to whatever is in the original mod) to adapt the mechanism to this format (e.g., <Exposure name="fcond".../>) while disregarding current calculations.
Should we aim for more 'self contained' files (requiring new ComponentTypes like e.g. NEURONCell), which would read current directly from mechanisms, providing v and everything else the mod-based mechaninsms may need to READ?