Neurons¶
Documentation of Neuron classes.
Neuron¶
-
class
pylgn.core.
Neuron
(background_response, annotations)[source]¶ Neuron base class.
Variables: - center_response –
- background_response (quantity scalar) – Background activity.
- annotations (dict) – Dictionary with various annotations on the Neuron object.
- connections (dict) – Dictionary with connected neurons including the connectivity kernel and weight.
- response (quantity array) – Spatiotemporal response
- response_ft (quantity array) – Fourier transformed response
- irf (quantity array) – Spatiotemporal impulse-response function
- irf_ft (quantity array) – Fourier transformed impulse-response function
-
__init__
(background_response, annotations)[source]¶ Neuron constructor
Parameters: - background_response (quantity scalar) – Background activity.
- annotations (dict) – Dictionary with various annotations on the Neuron object.
-
add_connection
(neuron, kernel, weight)[source]¶ Add connection to another neuron.
Parameters: - neuron (pylgn.Neuron) – Source neuron
- kernel (functions) – Connectivity kernel
- weight (float) – Connectivity weight
-
annotate
(annotations)[source]¶ Add annotations to a Neuron object.
Parameters: annotations (dict) – Dictionary containing annotations
-
center_response
¶ Response of neuron in the center of grid over time
Returns: out – Response of neuron in the center of grid over time Return type: quantity array
Ganglion class¶
- class
pylgn.core.
Ganglion
(background_response, kernel, annotations={})[source]¶
Relay class¶
Cortical class¶
DescriptiveNeuron class¶
-
class
pylgn.core.
DescriptiveNeuron
(background_response, kernel, annotations={})[source]¶