-
Notifications
You must be signed in to change notification settings - Fork 1
How to use the SynapseDistributionGenerator
The NeuroBox component SynapseDistributionGenerator
is designed to create and manage distributions of synapses on neuron morphologies, which are given as graphs consisting of vertices in a three-dimensional space and edges connecting them.
Neuron morphologies are supported in the ProMesh *.ugx
file format (s. http://promesh3d.com/).
This constructor like method initializes a synapse distribution on a user-specified neuron morphology. Already existing synapses in the specified morphology can either be preserved or deleted. The invocation of this method is mandatory for using the following methods.
This method enables the user to specify densities in [1/m] by which synapses will be distributed on the subset(s) of choice.
In this method the user can specify fractions in the range of [0,1] by which synapses will be deleted from the subset(s) of choice. For the new number of synapses fraction concretely means: newNumber = (1-fraction)*oldNumber
This method prints the total number of synapses currently contained in the neuron morphology.
This method prints the number of synapses currently contained in the specified subset of the neuron morphology.
This method prints the the length in [m] of the specified subset the neuron morphology.
This method exports the modified neuron morphology together with the synapse distribution to the path of the input grid file. The filename is user-specified.
This method exports the modified neuron morphology together with the synapse distribution to a user-specified file.