spynnaker.pyNN.models package¶
Subpackages¶
- spynnaker.pyNN.models.abstract_models package
- spynnaker.pyNN.models.common package
- Submodules
- spynnaker.pyNN.models.common.param_generator_data module
- spynnaker.pyNN.models.common.recording_utils module
- Module contents
EIEIOSpikeRecorder
MultiSpikeRecorder
NeuronRecorder
NeuronRecorder.MAX_REWIRES
NeuronRecorder.PACKETS
NeuronRecorder.PACKETS_TYPE
NeuronRecorder.REWIRING
NeuronRecorder.REWIRING_TYPE
NeuronRecorder.SPIKES
NeuronRecorder.add_region_offset()
NeuronRecorder.check_indexes()
NeuronRecorder.get_buffer_data_type()
NeuronRecorder.get_buffered_sdram()
NeuronRecorder.get_buffered_sdram_per_record()
NeuronRecorder.get_buffered_sdram_per_timestep()
NeuronRecorder.get_data_type()
NeuronRecorder.get_event_recordable_variables()
NeuronRecorder.get_generator_data()
NeuronRecorder.get_generator_sdram_usage_in_bytes()
NeuronRecorder.get_max_buffered_sdram_per_record()
NeuronRecorder.get_max_variable_sdram_usage()
NeuronRecorder.get_metadata_sdram_usage_in_bytes()
NeuronRecorder.get_recordable_variables()
NeuronRecorder.get_recorded_indices()
NeuronRecorder.get_region()
NeuronRecorder.get_region_sizes()
NeuronRecorder.get_sampling_interval_ms()
NeuronRecorder.get_sampling_overflow_sdram()
NeuronRecorder.get_variable_sdram_usage()
NeuronRecorder.is_global_generatable
NeuronRecorder.is_recordable()
NeuronRecorder.is_recording()
NeuronRecorder.neurons_recording()
NeuronRecorder.recorded_ids_by_slice()
NeuronRecorder.recorded_region_ids
NeuronRecorder.recording_variables
NeuronRecorder.set_max_rewires_per_ts()
NeuronRecorder.set_recording()
NeuronRecorder.write_neuron_recording_region()
ParameterHolder
PopulationApplicationVertex
PopulationApplicationVertex.conductance_based
PopulationApplicationVertex.get_atom_key_map()
PopulationApplicationVertex.get_buffer_data_type()
PopulationApplicationVertex.get_current_state_values()
PopulationApplicationVertex.get_data_type()
PopulationApplicationVertex.get_initial_state_values()
PopulationApplicationVertex.get_neurons_recording()
PopulationApplicationVertex.get_parameter_values()
PopulationApplicationVertex.get_parameters()
PopulationApplicationVertex.get_recordable_variables()
PopulationApplicationVertex.get_recording_region()
PopulationApplicationVertex.get_recording_variables()
PopulationApplicationVertex.get_sampling_interval_ms()
PopulationApplicationVertex.get_state_variables()
PopulationApplicationVertex.get_units()
PopulationApplicationVertex.inject()
PopulationApplicationVertex.n_atoms
PopulationApplicationVertex.n_colour_bits
PopulationApplicationVertex.set_current_state_values()
PopulationApplicationVertex.set_initial_state_values()
PopulationApplicationVertex.set_not_recording()
PopulationApplicationVertex.set_parameter_values()
PopulationApplicationVertex.set_recording()
- spynnaker.pyNN.models.current_sources package
- Module contents
ACSource
AbstractCurrentSource
AbstractCurrentSource.app_vertex
AbstractCurrentSource.current_source_id
AbstractCurrentSource.get_parameter_types
AbstractCurrentSource.get_parameters
AbstractCurrentSource.get_sdram_usage_in_bytes()
AbstractCurrentSource.inject_into()
AbstractCurrentSource.population
AbstractCurrentSource.set_app_vertex()
AbstractCurrentSource.set_parameters()
AbstractCurrentSource.set_population()
CurrentSourceIDs
DCSource
NoisyCurrentSource
StepCurrentSource
- Module contents
- spynnaker.pyNN.models.neural_projections package
- Subpackages
- Module contents
DelayAfferentApplicationEdge
DelayedApplicationEdge
ProjectionApplicationEdge
SynapseInformation
SynapseInformation.add_pre_run_connection_holder()
SynapseInformation.connector
SynapseInformation.delays
SynapseInformation.finish_connection_holders()
SynapseInformation.may_generate_on_machine()
SynapseInformation.may_use_direct_matrix()
SynapseInformation.n_post_neurons
SynapseInformation.n_pre_neurons
SynapseInformation.post_population
SynapseInformation.postpop_is_view
SynapseInformation.pre_population
SynapseInformation.pre_run_connection_holders
SynapseInformation.prepop_is_view
SynapseInformation.receptor_type
SynapseInformation.synapse_dynamics
SynapseInformation.synapse_type
SynapseInformation.synapse_type_from_dynamics
SynapseInformation.weights
- spynnaker.pyNN.models.neuron package
- Subpackages
- spynnaker.pyNN.models.neuron.additional_inputs package
- spynnaker.pyNN.models.neuron.builds package
- spynnaker.pyNN.models.neuron.implementations package
- spynnaker.pyNN.models.neuron.input_types package
- spynnaker.pyNN.models.neuron.local_only package
- spynnaker.pyNN.models.neuron.neuron_models package
- spynnaker.pyNN.models.neuron.plasticity package
- spynnaker.pyNN.models.neuron.structural_plasticity package
- spynnaker.pyNN.models.neuron.synapse_dynamics package
- spynnaker.pyNN.models.neuron.synapse_types package
- spynnaker.pyNN.models.neuron.threshold_types package
- Submodules
- spynnaker.pyNN.models.neuron.generator_data module
- spynnaker.pyNN.models.neuron.master_pop_table module
MasterPopTableAsBinarySearch
MasterPopTableAsBinarySearch.add_application_entry()
MasterPopTableAsBinarySearch.add_invalid_application_entry()
MasterPopTableAsBinarySearch.get_allowed_row_length()
MasterPopTableAsBinarySearch.get_master_population_table_size()
MasterPopTableAsBinarySearch.get_next_allowed_address()
MasterPopTableAsBinarySearch.get_pop_table_data()
MasterPopTableAsBinarySearch.initialise_table()
MasterPopTableAsBinarySearch.max_core_mask
MasterPopTableAsBinarySearch.max_index
MasterPopTableAsBinarySearch.max_n_neurons_per_core
- spynnaker.pyNN.models.neuron.neuron_data module
- spynnaker.pyNN.models.neuron.population_machine_common module
- spynnaker.pyNN.models.neuron.population_machine_synapses module
PopulationMachineSynapses
PopulationMachineSynapses.app_vertex
PopulationMachineSynapses.bit_field_base_address()
PopulationMachineSynapses.bit_field_size
PopulationMachineSynapses.connection_generator_region
PopulationMachineSynapses.gen_on_machine()
PopulationMachineSynapses.get_connections_from_machine()
PopulationMachineSynapses.max_gen_data
PopulationMachineSynapses.read_generated_connection_holders()
PopulationMachineSynapses.regeneratable_sdram_blocks_and_sizes()
PopulationMachineSynapses.set_do_synapse_regeneration()
PopulationMachineSynapses.vertex_slice
- spynnaker.pyNN.models.neuron.synapse_io module
- spynnaker.pyNN.models.neuron.synaptic_matrices module
AppKeyInfo
SynapseRegions
SynapticMatrices
SynapticMatrices.bit_field_size
SynapticMatrices.gen_on_machine
SynapticMatrices.generate_data()
SynapticMatrices.get_connections_from_machine()
SynapticMatrices.get_index()
SynapticMatrices.host_generated_block_addr
SynapticMatrices.max_gen_data
SynapticMatrices.on_chip_generated_matrix_size
SynapticMatrices.read_generated_connection_holders()
SynapticMatrices.write_synaptic_data()
- spynnaker.pyNN.models.neuron.synaptic_matrix_app module
- Module contents
AbstractPopulationVertex
AbstractPopulationVertex.CORE_PARAMS_BASE_SIZE
AbstractPopulationVertex.add_incoming_projection()
AbstractPopulationVertex.atoms_shape
AbstractPopulationVertex.can_generate_on_machine()
AbstractPopulationVertex.clear_connection_cache()
AbstractPopulationVertex.combined_core_capable
AbstractPopulationVertex.conductance_based
AbstractPopulationVertex.copy_initial_state_variables()
AbstractPopulationVertex.core_seed()
AbstractPopulationVertex.current_source_id_list
AbstractPopulationVertex.current_sources
AbstractPopulationVertex.describe()
AbstractPopulationVertex.drop_late_spikes
AbstractPopulationVertex.get_buffer_data_type()
AbstractPopulationVertex.get_common_constant_sdram()
AbstractPopulationVertex.get_connections_from_machine()
AbstractPopulationVertex.get_current_state_values()
AbstractPopulationVertex.get_data_type()
AbstractPopulationVertex.get_incoming_projections_from()
AbstractPopulationVertex.get_initial_state_values()
AbstractPopulationVertex.get_max_atoms_per_core()
AbstractPopulationVertex.get_max_atoms_per_dimension_per_core()
AbstractPopulationVertex.get_max_delay()
AbstractPopulationVertex.get_max_neuron_variable_sdram()
AbstractPopulationVertex.get_max_row_info()
AbstractPopulationVertex.get_max_synapse_variable_sdram()
AbstractPopulationVertex.get_n_atom_bits()
AbstractPopulationVertex.get_neuron_constant_sdram()
AbstractPopulationVertex.get_neuron_variable_sdram()
AbstractPopulationVertex.get_neurons_recording()
AbstractPopulationVertex.get_parameter_values()
AbstractPopulationVertex.get_parameters()
AbstractPopulationVertex.get_recordable_variables()
AbstractPopulationVertex.get_recording_region()
AbstractPopulationVertex.get_recording_variables()
AbstractPopulationVertex.get_ring_buffer_shifts()
AbstractPopulationVertex.get_sampling_interval_ms()
AbstractPopulationVertex.get_sdram_usage_for_core_neuron_params()
AbstractPopulationVertex.get_sdram_usage_for_current_source_params()
AbstractPopulationVertex.get_sdram_usage_for_neuron_generation()
AbstractPopulationVertex.get_sdram_usage_for_neuron_params()
AbstractPopulationVertex.get_state_variables()
AbstractPopulationVertex.get_structural_dynamics_size()
AbstractPopulationVertex.get_synapse_dynamics_size()
AbstractPopulationVertex.get_synapse_expander_size()
AbstractPopulationVertex.get_synapse_id_by_target()
AbstractPopulationVertex.get_synapse_params_size()
AbstractPopulationVertex.get_synapse_variable_sdram()
AbstractPopulationVertex.get_synapses_size()
AbstractPopulationVertex.get_units()
AbstractPopulationVertex.get_weight_scales()
AbstractPopulationVertex.incoming_poisson_projections
AbstractPopulationVertex.incoming_projections
AbstractPopulationVertex.incoming_spike_buffer_size
AbstractPopulationVertex.initial_state_variables
AbstractPopulationVertex.inject()
AbstractPopulationVertex.n_atoms
AbstractPopulationVertex.n_colour_bits
AbstractPopulationVertex.n_profile_samples
AbstractPopulationVertex.n_synapse_cores_required
AbstractPopulationVertex.neuron_impl
AbstractPopulationVertex.neuron_recordables
AbstractPopulationVertex.neuron_recorder
AbstractPopulationVertex.parameters
AbstractPopulationVertex.pop_seed
AbstractPopulationVertex.read_initial_values
AbstractPopulationVertex.reset_to_first_timestep()
AbstractPopulationVertex.ring_buffer_sigma
AbstractPopulationVertex.self_projection
AbstractPopulationVertex.set_current_state_values()
AbstractPopulationVertex.set_initial_state_values()
AbstractPopulationVertex.set_max_atoms_per_dimension_per_core()
AbstractPopulationVertex.set_not_recording()
AbstractPopulationVertex.set_parameter_values()
AbstractPopulationVertex.set_recording()
AbstractPopulationVertex.set_structure()
AbstractPopulationVertex.set_synapse_dynamics()
AbstractPopulationVertex.size
AbstractPopulationVertex.spikes_per_second
AbstractPopulationVertex.state_variables
AbstractPopulationVertex.synapse_dynamics
AbstractPopulationVertex.synapse_executable_suffix
AbstractPopulationVertex.synapse_recordables
AbstractPopulationVertex.synapse_recorder
AbstractPopulationVertex.weight_scale
AbstractPyNNNeuronModel
AbstractPyNNNeuronModelStandard
ConnectionHolder
LocalOnlyProvenance
NeuronProvenance
NeuronRegions
PopulationMachineLocalOnlyCombinedVertex
PopulationMachineLocalOnlyCombinedVertex.BACKGROUND_MAX_QUEUED_NAME
PopulationMachineLocalOnlyCombinedVertex.BACKGROUND_OVERLOADS_NAME
PopulationMachineLocalOnlyCombinedVertex.COMMON_REGIONS
PopulationMachineLocalOnlyCombinedVertex.INPUT_BUFFER_FULL_NAME
PopulationMachineLocalOnlyCombinedVertex.LOCAL_ONLY_SIZE
PopulationMachineLocalOnlyCombinedVertex.MAX_FILLED_SIZE_OF_INPUT_BUFFER_NAME
PopulationMachineLocalOnlyCombinedVertex.MAX_SPIKES_PER_TIME_STEP_NAME
PopulationMachineLocalOnlyCombinedVertex.NEURON_REGIONS
PopulationMachineLocalOnlyCombinedVertex.N_LATE_SPIKES_NAME
PopulationMachineLocalOnlyCombinedVertex.REGIONS
PopulationMachineLocalOnlyCombinedVertex.generate_data_specification()
PopulationMachineLocalOnlyCombinedVertex.get_recorded_region_ids()
PopulationMachineLocalOnlyCombinedVertex.parse_extra_provenance_items()
PopulationMachineLocalOnlyCombinedVertex.regenerate_data_specification()
PopulationMachineLocalOnlyCombinedVertex.reload_required()
PopulationMachineLocalOnlyCombinedVertex.set_do_neuron_regeneration()
PopulationMachineLocalOnlyCombinedVertex.set_reload_required()
PopulationMachineVertex
PopulationMachineVertex.BACKGROUND_MAX_QUEUED_NAME
PopulationMachineVertex.BACKGROUND_OVERLOADS_NAME
PopulationMachineVertex.COMMON_REGIONS
PopulationMachineVertex.DMA_COMPLETE
PopulationMachineVertex.INPUT_BUFFER_FULL_NAME
PopulationMachineVertex.MAX_FILLED_SIZE_OF_INPUT_BUFFER_NAME
PopulationMachineVertex.NEURON_REGIONS
PopulationMachineVertex.N_LATE_SPIKES_NAME
PopulationMachineVertex.N_REWIRES_NAME
PopulationMachineVertex.REGIONS
PopulationMachineVertex.SPIKES_PROCESSED
PopulationMachineVertex.SYNAPSE_REGIONS
PopulationMachineVertex.generate_data_specification()
PopulationMachineVertex.get_n_keys_for_partition()
PopulationMachineVertex.get_recorded_region_ids()
PopulationMachineVertex.parse_extra_provenance_items()
PopulationMachineVertex.regenerate_data_specification()
PopulationMachineVertex.reload_required()
PopulationMachineVertex.set_do_neuron_regeneration()
PopulationMachineVertex.set_do_synapse_regeneration()
PopulationMachineVertex.set_reload_required()
PopulationNeuronsMachineVertex
PopulationNeuronsMachineVertex.COMMON_REGIONS
PopulationNeuronsMachineVertex.NEURON_REGIONS
PopulationNeuronsMachineVertex.REGIONS
PopulationNeuronsMachineVertex.generate_data_specification()
PopulationNeuronsMachineVertex.get_n_bytes_for_transfer()
PopulationNeuronsMachineVertex.get_n_keys_for_partition()
PopulationNeuronsMachineVertex.get_recorded_region_ids()
PopulationNeuronsMachineVertex.n_bytes_for_transfer
PopulationNeuronsMachineVertex.parse_extra_provenance_items()
PopulationNeuronsMachineVertex.regenerate_data_specification()
PopulationNeuronsMachineVertex.reload_required()
PopulationNeuronsMachineVertex.sdram_requirement()
PopulationNeuronsMachineVertex.set_do_neuron_regeneration()
PopulationNeuronsMachineVertex.set_reload_required()
PopulationNeuronsMachineVertex.set_sdram_partition()
PopulationNeuronsMachineVertex.weight_scales
PopulationSynapsesMachineVertexCommon
PopulationSynapsesMachineVertexCommon.COMMON_REGIONS
PopulationSynapsesMachineVertexCommon.DMA_COMPLETE
PopulationSynapsesMachineVertexCommon.EARLIEST_RECEIVE
PopulationSynapsesMachineVertexCommon.INPUT_BUFFER_FULL_NAME
PopulationSynapsesMachineVertexCommon.LATEST_RECEIVE
PopulationSynapsesMachineVertexCommon.MAX_FILLED_SIZE_OF_INPUT_BUFFER_NAME
PopulationSynapsesMachineVertexCommon.MAX_SPIKES_PROCESSED
PopulationSynapsesMachineVertexCommon.MAX_SPIKES_RECEIVED
PopulationSynapsesMachineVertexCommon.MAX_SPIKE_OVERFLOW
PopulationSynapsesMachineVertexCommon.MAX_TRANSFER_TIMER_OVERRUNS
PopulationSynapsesMachineVertexCommon.N_LATE_SPIKES_NAME
PopulationSynapsesMachineVertexCommon.N_REWIRES_NAME
PopulationSynapsesMachineVertexCommon.N_SKIPPED_TIME_STEPS
PopulationSynapsesMachineVertexCommon.N_TRANSFER_TIMER_OVERRUNS
PopulationSynapsesMachineVertexCommon.REGIONS
PopulationSynapsesMachineVertexCommon.SPIKES_PROCESSED
PopulationSynapsesMachineVertexCommon.SYNAPSE_REGIONS
PopulationSynapsesMachineVertexCommon.get_recorded_region_ids()
PopulationSynapsesMachineVertexCommon.parse_extra_provenance_items()
PopulationSynapsesMachineVertexCommon.sdram_requirement()
PopulationSynapsesMachineVertexCommon.set_neuron_vertex_and_partition_id()
PopulationSynapsesMachineVertexCommon.set_sdram_partition()
PopulationSynapsesMachineVertexLead
PopulationSynapsesMachineVertexLead.generate_data_specification()
PopulationSynapsesMachineVertexLead.get_recorded_region_ids()
PopulationSynapsesMachineVertexLead.regenerate_data_specification()
PopulationSynapsesMachineVertexLead.reload_required()
PopulationSynapsesMachineVertexLead.set_do_synapse_regeneration()
PopulationSynapsesMachineVertexLead.set_reload_required()
PopulationSynapsesMachineVertexShared
SpikeProcessingFastProvenance
SpikeProcessingFastProvenance.N_ITEMS
SpikeProcessingFastProvenance.earliest_receive
SpikeProcessingFastProvenance.latest_receive
SpikeProcessingFastProvenance.max_size_input_buffer
SpikeProcessingFastProvenance.max_spikes_overflow
SpikeProcessingFastProvenance.max_spikes_processed
SpikeProcessingFastProvenance.max_spikes_received
SpikeProcessingFastProvenance.max_transfer_timer_overrun
SpikeProcessingFastProvenance.n_buffer_overflows
SpikeProcessingFastProvenance.n_dmas_complete
SpikeProcessingFastProvenance.n_late_packets
SpikeProcessingFastProvenance.n_rewires
SpikeProcessingFastProvenance.n_skipped_time_steps
SpikeProcessingFastProvenance.n_spikes_processed
SpikeProcessingFastProvenance.n_transfer_timer_overruns
SpikeProcessingProvenance
SynapseProvenance
SynapseProvenance.N_ITEMS
SynapseProvenance.max_late_spike
SynapseProvenance.n_failed_bitfield_reads
SynapseProvenance.n_filtered_by_bitfield
SynapseProvenance.n_ghost_searches
SynapseProvenance.n_invalid_pop_table_hits
SynapseProvenance.n_late_spikes
SynapseProvenance.n_plastic_saturations
SynapseProvenance.n_pre_synaptic_events
SynapseProvenance.n_saturations
SynapseProvenance.n_skipped_synapses
- Subpackages
- spynnaker.pyNN.models.populations package
- Module contents
Assembly
IDMixin
Population
Population.add_placement_constraint()
Population.all()
Population.all_cells
Population.annotations
Population.can_record()
Population.celltype
Population.conductance_based
Population.create()
Population.current_values
Population.describe()
Population.find_units()
Population.first_id
Population.get()
Population.get_data()
Population.get_spike_counts()
Population.id_to_index()
Population.id_to_local_index()
Population.index_to_id()
Population.initial_values
Population.initialize()
Population.inject()
Population.label
Population.last_id
Population.local_size
Population.position_generator
Population.positions
Population.record()
Population.sample()
Population.set()
Population.set_max_atoms_per_core()
Population.set_state()
Population.size
Population.spinnaker_get_data()
Population.structure
Population.write_data()
PopulationBase
PopulationBase.all_cells
PopulationBase.get_data()
PopulationBase.get_spike_counts()
PopulationBase.inject()
PopulationBase.is_local()
PopulationBase.local_cells
PopulationBase.local_size
PopulationBase.mean_spike_count()
PopulationBase.nearest()
PopulationBase.position_generator
PopulationBase.positions
PopulationBase.receptor_types()
PopulationBase.record()
PopulationBase.save_positions()
PopulationBase.structure
PopulationBase.write_data()
PopulationView
PopulationView.all()
PopulationView.all_cells
PopulationView.can_record()
PopulationView.celltype
PopulationView.conductance_based
PopulationView.current_values
PopulationView.describe()
PopulationView.find_units()
PopulationView.get()
PopulationView.get_data()
PopulationView.get_spike_counts()
PopulationView.grandparent
PopulationView.id_to_index()
PopulationView.index_in_grandparent()
PopulationView.initial_values
PopulationView.initialize()
PopulationView.inject()
PopulationView.label
PopulationView.mask
PopulationView.parent
PopulationView.record()
PopulationView.sample()
PopulationView.set()
PopulationView.set_state()
PopulationView.size
PopulationView.spinnaker_get_data()
PopulationView.spinnaker_get_spikes()
PopulationView.write_data()
- Module contents
- spynnaker.pyNN.models.spike_source package
- Submodules
- spynnaker.pyNN.models.spike_source.spike_source_array_machine_vertex module
- Module contents
SpikeSourceArray
SpikeSourceArrayVertex
SpikeSourceArrayVertex.SPIKE_RECORDING_REGION_ID
SpikeSourceArrayVertex.atoms_shape
SpikeSourceArrayVertex.create_machine_vertex()
SpikeSourceArrayVertex.describe()
SpikeSourceArrayVertex.get_buffer_data_type()
SpikeSourceArrayVertex.get_data_type()
SpikeSourceArrayVertex.get_neurons_recording()
SpikeSourceArrayVertex.get_parameter_values()
SpikeSourceArrayVertex.get_parameters()
SpikeSourceArrayVertex.get_recordable_variables()
SpikeSourceArrayVertex.get_recording_region()
SpikeSourceArrayVertex.get_recording_variables()
SpikeSourceArrayVertex.get_sampling_interval_ms()
SpikeSourceArrayVertex.get_units()
SpikeSourceArrayVertex.n_colour_bits
SpikeSourceArrayVertex.set_not_recording()
SpikeSourceArrayVertex.set_parameter_values()
SpikeSourceArrayVertex.set_recording()
SpikeSourceArrayVertex.set_structure()
SpikeSourceFromFile
SpikeSourcePoisson
SpikeSourcePoissonMachineVertex
SpikeSourcePoissonMachineVertex.FAST_RATE_PER_TICK_CUTOFF
SpikeSourcePoissonMachineVertex.POISSON_SPIKE_SOURCE_REGIONS
SpikeSourcePoissonMachineVertex.PROFILE_TAG_LABELS
SpikeSourcePoissonMachineVertex.SEED_OFFSET_BYTES
SpikeSourcePoissonMachineVertex.SEED_SIZE_BYTES
SpikeSourcePoissonMachineVertex.SLOW_RATE_PER_TICK_CUTOFF
SpikeSourcePoissonMachineVertex.generate_data_specification()
SpikeSourcePoissonMachineVertex.get_binary_file_name()
SpikeSourcePoissonMachineVertex.get_binary_start_type()
SpikeSourcePoissonMachineVertex.get_n_keys_for_partition()
SpikeSourcePoissonMachineVertex.get_profile_data()
SpikeSourcePoissonMachineVertex.get_recorded_region_ids()
SpikeSourcePoissonMachineVertex.get_recording_region_base_address()
SpikeSourcePoissonMachineVertex.max_spikes_per_second()
SpikeSourcePoissonMachineVertex.max_spikes_per_ts()
SpikeSourcePoissonMachineVertex.read_parameters_from_machine()
SpikeSourcePoissonMachineVertex.regenerate_data_specification()
SpikeSourcePoissonMachineVertex.reload_required()
SpikeSourcePoissonMachineVertex.sdram_required
SpikeSourcePoissonMachineVertex.sdram_requirement()
SpikeSourcePoissonMachineVertex.set_rate_changed()
SpikeSourcePoissonMachineVertex.set_reload_required()
SpikeSourcePoissonMachineVertex.set_sdram_partition()
SpikeSourcePoissonVariable
SpikeSourcePoissonVertex
SpikeSourcePoissonVertex.SPIKE_RECORDING_REGION_ID
SpikeSourcePoissonVertex.add_outgoing_projection()
SpikeSourcePoissonVertex.atoms_shape
SpikeSourcePoissonVertex.clear_spike_recording()
SpikeSourcePoissonVertex.create_machine_vertex()
SpikeSourcePoissonVertex.data
SpikeSourcePoissonVertex.describe()
SpikeSourcePoissonVertex.get_buffer_data_type()
SpikeSourcePoissonVertex.get_data_type()
SpikeSourcePoissonVertex.get_neurons_recording()
SpikeSourcePoissonVertex.get_parameter_values()
SpikeSourcePoissonVertex.get_parameters()
SpikeSourcePoissonVertex.get_recordable_variables()
SpikeSourcePoissonVertex.get_recording_region()
SpikeSourcePoissonVertex.get_recording_sdram_usage()
SpikeSourcePoissonVertex.get_recording_variables()
SpikeSourcePoissonVertex.get_sampling_interval_ms()
SpikeSourcePoissonVertex.get_sdram_used_by_atoms()
SpikeSourcePoissonVertex.get_units()
SpikeSourcePoissonVertex.incoming_control_edge
SpikeSourcePoissonVertex.kiss_seed()
SpikeSourcePoissonVertex.max_n_rates
SpikeSourcePoissonVertex.max_rate
SpikeSourcePoissonVertex.max_spikes_per_ts()
SpikeSourcePoissonVertex.n_atoms
SpikeSourcePoissonVertex.n_colour_bits
SpikeSourcePoissonVertex.n_profile_samples
SpikeSourcePoissonVertex.outgoing_projections
SpikeSourcePoissonVertex.rates
SpikeSourcePoissonVertex.seed
SpikeSourcePoissonVertex.set_live_poisson_control_edge()
SpikeSourcePoissonVertex.set_not_recording()
SpikeSourcePoissonVertex.set_parameter_values()
SpikeSourcePoissonVertex.set_recording()
SpikeSourcePoissonVertex.set_structure()
SpikeSourcePoissonVertex.time_to_spike
SpikeSourcePoissonVertex.update_kiss_seed()
- spynnaker.pyNN.models.utility_models package
Submodules¶
spynnaker.pyNN.models.abstract_pynn_model module¶
- class spynnaker.pyNN.models.abstract_pynn_model.AbstractPyNNModel[source]¶
Bases:
object
A Model that can be passed in to a Population object in PyNN.
- absolute_max_atoms_per_core = 9223372036854775807¶
- abstract create_vertex(n_neurons, label)[source]¶
Create a vertex for a population of the model.
- Parameters:
- Returns:
An application vertex for the population
- Return type:
- default_initial_values = {}¶
- default_parameters = {}¶
- abstract property default_population_parameters¶
The default values for the parameters at the population level. These are parameters that can be passed in to the Population constructor in addition to the standard PyNN options.
- describe(template='modeltype_default.txt', engine='default')[source]¶
Returns a human-readable description of the population.
The output may be customized by specifying a different template together with an associated template engine (see
pyNN.descriptions
).If
template
isNone
, then a dictionary containing the template context will be returned.
- classmethod get_model_max_atoms_per_dimension_per_core()[source]¶
Get the maximum number of atoms per dimension per core for this model.
- classmethod has_parameter(name)[source]¶
Determine if the model has a parameter with the given name.
- classmethod set_model_max_atoms_per_dimension_per_core(n_atoms=None)[source]¶
Set the default maximum number of atoms per dimension per core for this model. This can be overridden by the individual Population. The new value can be None, meaning that the maximum is the same as the number of atoms, an int, meaning all Populations of this model must have one dimension, or a tuple of n integers, meaning all Populations of this model must have n dimensions. If not all Populations of this model have the same number of dimensions, it is recommended to set this to None here and then set the maximum on each Population.
spynnaker.pyNN.models.defaults module¶
- spynnaker.pyNN.models.defaults.default_initial_values(state_variables)[source]¶
Specifies arguments which are state variables. Only works on the
__init__
method of a class that is additionally decorated withdefaults()
- Parameters:
state_variables (iterable(str)) – The names of the arguments that are state variables
- spynnaker.pyNN.models.defaults.default_parameters(parameters)[source]¶
Specifies arguments which are parameters. Only works on the
__init__
method of a class that is additionally decorated withdefaults()
- Parameters:
parameters (iterable(str)) – The names of the arguments that are parameters
spynnaker.pyNN.models.projection module¶
- class spynnaker.pyNN.models.projection.Projection(pre_synaptic_population, post_synaptic_population, connector, synapse_type=None, source=None, receptor_type=None, space=None, label=None)[source]¶
Bases:
object
A container for all the connections of a given type (same synapse type and plasticity mechanisms) between two populations, together with methods to set parameters of those connections, including of plasticity mechanisms.
- Parameters:
pre_synaptic_population (PopulationBase) –
post_synaptic_population (PopulationBase) –
connector (AbstractConnector) –
synapse_type (AbstractSynapseDynamics) –
source (None) – Unsupported; must be None
receptor_type (str) –
space (Space) –
label (str) –
- get(attribute_names, format, gather=True, with_address=True, multiple_synapses='last')[source]¶
Get a parameter/attribute of the projection.
Note
SpiNNaker always gathers.
- Parameters:
attribute_names (str or iterable(str)) – list of attributes to gather
format (str) –
"list"
or"array"
gather (bool) – gather over all nodes
with_address (bool) – True if the source and target are to be included
multiple_synapses (str) – What to do with the data if format=”array” and if the multiple source-target pairs with the same values exist. Currently only “last” is supported
- Returns:
values selected
- property post¶
The post-population or population view.
- Return type:
- property pre¶
The pre-population or population view.
- Return type:
- save(attribute_names, file, format='list', gather=True, with_address=True)[source]¶
Print synaptic attributes (weights, delays, etc.) to file. In the array format, zeros are printed for non-existent connections. Values will be expressed in the standard PyNN units (i.e., millivolts, nanoamps, milliseconds, microsiemens, nanofarads, event per second).
Note
SpiNNaker always gathers.
spynnaker.pyNN.models.recorder module¶
- class spynnaker.pyNN.models.recorder.Recorder(population, vertex)[source]¶
Bases:
object
Object to hold recording behaviour, used by populations.
- Parameters:
population (Population) – the population to record for
vertex (ApplicationVertex) – the SpiNNaker graph vertex used by the population
- csv_neo_block(csv_file, variables, view_indexes=None, annotations=None)[source]¶
Extracts block from the vertices and puts them into a Neo block.
- Parameters:
- Returns:
The Neo block
- Return type:
- Raises:
ConfigurationException – If the recording not setup correctly
- extract_neo_block(variables, view_indexes, clear, annotations)[source]¶
Extracts block from the vertices and puts them into a Neo block.
- Parameters:
- Returns:
The Neo block
- Return type:
- Raises:
ConfigurationException – If the recording not setup correctly
- record(variables, to_file, sampling_interval, indexes)[source]¶
Turns on (or off) recording.
- Parameters:
variables (str or list(str) or None) – either a single variable name or a list of variable names. For a given celltype class, celltype.recordable contains a list of variables that can be recorded for that celltype. Can also be
None
to reset the list of variables.to_file (io or rawio or str) – a file to automatically record to (optional).
write_data()
will be automatically called when sim.end() is called.sampling_interval (int) – a value in milliseconds, and an integer multiple of the simulation timestep.
indexes (None or list(int)) – The indexes of neurons to record from. This is non-standard PyNN and equivalent to creating a view with these indexes and asking the View to record.
- property recording_label¶
- turn_off_all_recording(indexes=None)[source]¶
Turns off recording, is used by a pop saying
.record()
.- Parameters:
indexes (list or None) –
- turn_on_record(variable, sampling_interval=None, to_file=None, indexes=None)[source]¶
Tell the vertex to record data.
- Parameters:
variable (str) – The variable to record, supported variables to record are:
gsyn_exc
,gsyn_inh
,v
,spikes
.sampling_interval (int) – the interval to record them
to_file (neo.io.baseio.BaseIO or str or None) – If set, a file to write to (by handle or name)
indexes (list(int) or None) – List of indexes to record or None for all
- Raises:
SimulatorRunningException – If sim.run is currently running
SimulatorNotSetupException – If called before sim.setup
SimulatorShutdownException – If called after sim.end