snudda.utils.reposition_neurons¶
- class snudda.utils.reposition_neurons.RepositionNeurons(position_file)[source]¶
Reposition neurons in the network file.
Constructor.
- Parameters
position_file – network position file
- place(neuron_id, position, rotation=None, verbose=True)[source]¶
Reposition neuron neuron_id to position with rotation.
- Parameters
neuron_id – Neuron ID affected
position – New position of neuron
rotation – New rotatoin of neuron
verbose – Print info?
- set_modulation_id(neuron_id, modulation_id)[source]¶
Set modulationID for neuron with neuron_id (neuron_id = None means all neurons)
- set_modulation_key(neuron_id, modulation_key)[source]¶
Set modulationKey for neuron with neuron_id (neuron_id = None means all neurons)
- set_morphology_id(neuron_id, morphology_id)[source]¶
Set morphologyID for neuron with neuron_id (neuron_id = None means all neurons)
- set_morphology_key(neuron_id, morphology_key)[source]¶
Set morphologyKey for neuron with neuron_id (neuron_id = None means all neurons)