I am working with models of neurons. One class I am designing is a cell class which is a topological description of a neuron (several compartments connected together). It ha
Looks like you could cut down the number of arguments by constructing objects such as Axon
, Soma
and DendriticTree
outside of the LayerV constructor, and passing those objects instead.
Some of the parameters are only used in constructing e.g. DendriticTree
, others are used in other places as well, so the problem it's not as clear cut, but I would definitely try that approach.