spynnaker.pyNN.models package¶
Subpackages¶
- spynnaker.pyNN.models.abstract_models package
- spynnaker.pyNN.models.common package
- Submodules
- spynnaker.pyNN.models.common.local_only_2d_common module
- spynnaker.pyNN.models.common.param_generator_data module
- spynnaker.pyNN.models.common.recording_utils module
- spynnaker.pyNN.models.common.types module
- Module contents
EIEIOSpikeRecorderMultiSpikeRecorderNeuronRecorderNeuronRecorder.MAX_REWIRESNeuronRecorder.PACKETSNeuronRecorder.PACKETS_TYPENeuronRecorder.REWIRINGNeuronRecorder.REWIRING_TYPENeuronRecorder.SPIKESNeuronRecorder.add_region_offset()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_generatableNeuronRecorder.is_recordable()NeuronRecorder.is_recording()NeuronRecorder.neurons_recording()NeuronRecorder.recorded_ids_by_slice()NeuronRecorder.recorded_region_idsNeuronRecorder.recording_variablesNeuronRecorder.set_max_rewires_per_ts()NeuronRecorder.set_recording()NeuronRecorder.write_neuron_recording_region()
ParameterHolderPopulationApplicationVertexPopulationApplicationVertex.conductance_basedPopulationApplicationVertex.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_colour_bitsPopulationApplicationVertex.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
ACSourceAbstractCurrentSourceAbstractCurrentSource.app_vertexAbstractCurrentSource.current_source_idAbstractCurrentSource.get_sdram_usage_in_bytes()AbstractCurrentSource.inject_into()AbstractCurrentSource.parameter_typesAbstractCurrentSource.parametersAbstractCurrentSource.populationAbstractCurrentSource.set_app_vertex()AbstractCurrentSource.set_parameters()AbstractCurrentSource.set_population()
CurrentSourceIDsDCSourceNoisyCurrentSourceStepCurrentSource
- Module contents
- spynnaker.pyNN.models.neural_projections package
- Subpackages
- Module contents
DelayAfferentApplicationEdgeDelayedApplicationEdgeProjectionApplicationEdgeProjectionApplicationEdge.add_synapse_information()ProjectionApplicationEdge.delay_edgeProjectionApplicationEdge.get_local_provenance_data()ProjectionApplicationEdge.is_neuromodulationProjectionApplicationEdge.n_delay_stagesProjectionApplicationEdge.post_vertexProjectionApplicationEdge.pre_vertexProjectionApplicationEdge.synapse_information
SynapseInformationSynapseInformation.add_pre_run_connection_holder()SynapseInformation.connectorSynapseInformation.delaysSynapseInformation.download_on_pauseSynapseInformation.finish_connection_holders()SynapseInformation.may_generate_on_machine()SynapseInformation.n_post_neuronsSynapseInformation.n_pre_neuronsSynapseInformation.partition_idSynapseInformation.post_populationSynapseInformation.post_vertexSynapseInformation.postpop_is_viewSynapseInformation.pre_populationSynapseInformation.pre_run_connection_holdersSynapseInformation.pre_vertexSynapseInformation.prepop_is_viewSynapseInformation.receptor_typeSynapseInformation.synapse_dynamicsSynapseInformation.synapse_typeSynapseInformation.synapse_type_from_dynamicsSynapseInformation.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
MasterPopTableAsBinarySearchMasterPopTableAsBinarySearch.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_maskMasterPopTableAsBinarySearch.max_indexMasterPopTableAsBinarySearch.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
PopulationMachineSynapsesPopulationMachineSynapses.bit_field_base_address()PopulationMachineSynapses.bit_field_sizePopulationMachineSynapses.connection_generator_regionPopulationMachineSynapses.gen_on_machine()PopulationMachineSynapses.get_connections_from_machine()PopulationMachineSynapses.get_download_regions()PopulationMachineSynapses.max_gen_dataPopulationMachineSynapses.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
AppKeyInfoSynapseRegionReferencesSynapseRegionsSynapticMatricesSynapticMatrices.bit_field_sizeSynapticMatrices.gen_on_machineSynapticMatrices.generate_data()SynapticMatrices.get_connections_from_machine()SynapticMatrices.get_download_regions()SynapticMatrices.get_index()SynapticMatrices.host_generated_block_addrSynapticMatrices.max_gen_dataSynapticMatrices.on_chip_generated_matrix_sizeSynapticMatrices.read_generated_connection_holders()SynapticMatrices.write_synaptic_data()
- spynnaker.pyNN.models.neuron.synaptic_matrix_app module
- Module contents
AbstractPyNNNeuronModelAbstractPyNNNeuronModel.create_vertex()AbstractPyNNNeuronModel.default_population_parametersAbstractPyNNNeuronModel.get_model_allow_delay_extensions()AbstractPyNNNeuronModel.get_model_n_synapse_cores()AbstractPyNNNeuronModel.nameAbstractPyNNNeuronModel.reset_all()AbstractPyNNNeuronModel.set_model_allow_delay_extensions()AbstractPyNNNeuronModel.set_model_n_synapse_cores()
AbstractPyNNNeuronModelStandardConnectionHolderLocalOnlyProvenanceNeuronProvenanceNeuronRegionsPopulationMachineLocalOnlyCombinedVertexPopulationMachineLocalOnlyCombinedVertex.BACKGROUND_MAX_QUEUED_NAMEPopulationMachineLocalOnlyCombinedVertex.BACKGROUND_OVERLOADS_NAMEPopulationMachineLocalOnlyCombinedVertex.COMMON_REGIONSPopulationMachineLocalOnlyCombinedVertex.INPUT_BUFFER_FULL_NAMEPopulationMachineLocalOnlyCombinedVertex.LOCAL_ONLY_SIZEPopulationMachineLocalOnlyCombinedVertex.MAX_FILLED_SIZE_OF_INPUT_BUFFER_NAMEPopulationMachineLocalOnlyCombinedVertex.MAX_SPIKES_PER_TIME_STEP_NAMEPopulationMachineLocalOnlyCombinedVertex.NEURON_REGIONSPopulationMachineLocalOnlyCombinedVertex.N_LATE_SPIKES_NAMEPopulationMachineLocalOnlyCombinedVertex.REGIONSPopulationMachineLocalOnlyCombinedVertex.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()
PopulationMachineVertexPopulationMachineVertex.BACKGROUND_MAX_QUEUED_NAMEPopulationMachineVertex.BACKGROUND_OVERLOADS_NAMEPopulationMachineVertex.COMMON_REGIONSPopulationMachineVertex.DMA_COMPLETEPopulationMachineVertex.INPUT_BUFFER_FULL_NAMEPopulationMachineVertex.MAX_FILLED_SIZE_OF_INPUT_BUFFER_NAMEPopulationMachineVertex.NEURON_REGIONSPopulationMachineVertex.N_LATE_SPIKES_NAMEPopulationMachineVertex.N_REWIRES_NAMEPopulationMachineVertex.REGIONSPopulationMachineVertex.SPIKES_PROCESSEDPopulationMachineVertex.SYNAPSE_REGIONSPopulationMachineVertex.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()
PopulationNeuronsMachineVertexPopulationNeuronsMachineVertex.COMMON_REGIONSPopulationNeuronsMachineVertex.NEURON_REGIONSPopulationNeuronsMachineVertex.REGIONSPopulationNeuronsMachineVertex.generate_data_specification()PopulationNeuronsMachineVertex.get_n_bytes_for_transfer()PopulationNeuronsMachineVertex.get_n_keys_for_partition()PopulationNeuronsMachineVertex.get_recorded_region_ids()PopulationNeuronsMachineVertex.n_bytes_for_transferPopulationNeuronsMachineVertex.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
PopulationSynapsesMachineVertexCommonPopulationSynapsesMachineVertexCommon.COMMON_REGIONSPopulationSynapsesMachineVertexCommon.DMA_COMPLETEPopulationSynapsesMachineVertexCommon.EARLIEST_RECEIVEPopulationSynapsesMachineVertexCommon.INPUT_BUFFER_FULL_NAMEPopulationSynapsesMachineVertexCommon.LATEST_RECEIVEPopulationSynapsesMachineVertexCommon.MAX_FILLED_SIZE_OF_INPUT_BUFFER_NAMEPopulationSynapsesMachineVertexCommon.MAX_SPIKES_PROCESSEDPopulationSynapsesMachineVertexCommon.MAX_SPIKES_RECEIVEDPopulationSynapsesMachineVertexCommon.MAX_SPIKE_OVERFLOWPopulationSynapsesMachineVertexCommon.MAX_TRANSFER_TIMER_OVERRUNSPopulationSynapsesMachineVertexCommon.N_LATE_SPIKES_NAMEPopulationSynapsesMachineVertexCommon.N_REWIRES_NAMEPopulationSynapsesMachineVertexCommon.N_SKIPPED_TIME_STEPSPopulationSynapsesMachineVertexCommon.N_TRANSFER_TIMER_OVERRUNSPopulationSynapsesMachineVertexCommon.REGIONSPopulationSynapsesMachineVertexCommon.SPIKES_PROCESSEDPopulationSynapsesMachineVertexCommon.SYNAPSE_REGIONSPopulationSynapsesMachineVertexCommon.get_recorded_region_ids()PopulationSynapsesMachineVertexCommon.parse_extra_provenance_items()PopulationSynapsesMachineVertexCommon.sdram_requirement()PopulationSynapsesMachineVertexCommon.set_neuron_vertex_and_partition_id()PopulationSynapsesMachineVertexCommon.set_sdram_partition()
PopulationSynapsesMachineVertexLeadPopulationSynapsesMachineVertexLead.generate_data_specification()PopulationSynapsesMachineVertexLead.get_recorded_region_ids()PopulationSynapsesMachineVertexLead.regenerate_data_specification()PopulationSynapsesMachineVertexLead.reload_required()PopulationSynapsesMachineVertexLead.set_do_synapse_regeneration()PopulationSynapsesMachineVertexLead.set_reload_required()
PopulationSynapsesMachineVertexSharedPopulationVertexPopulationVertex.CORE_PARAMS_BASE_SIZEPopulationVertex.add_incoming_projection()PopulationVertex.allow_delay_extensionPopulationVertex.atoms_shapePopulationVertex.can_generate_on_machine()PopulationVertex.clear_connection_cache()PopulationVertex.combined_binary_existsPopulationVertex.combined_binary_file_namePopulationVertex.conductance_basedPopulationVertex.copy_initial_state_variables()PopulationVertex.core_seed()PopulationVertex.current_source_id_listPopulationVertex.current_sourcesPopulationVertex.describe()PopulationVertex.drop_late_spikesPopulationVertex.extra_partitionsPopulationVertex.get_buffer_data_type()PopulationVertex.get_common_constant_sdram()PopulationVertex.get_connections_from_machine()PopulationVertex.get_current_state_values()PopulationVertex.get_data_type()PopulationVertex.get_incoming_projections_from()PopulationVertex.get_initial_state_values()PopulationVertex.get_max_atoms_per_core()PopulationVertex.get_max_atoms_per_dimension_per_core()PopulationVertex.get_max_neuron_variable_sdram()PopulationVertex.get_max_row_info()PopulationVertex.get_max_synapse_variable_sdram()PopulationVertex.get_n_atom_bits()PopulationVertex.get_neuron_constant_sdram()PopulationVertex.get_neuron_variable_sdram()PopulationVertex.get_neurons_recording()PopulationVertex.get_parameter_values()PopulationVertex.get_parameters()PopulationVertex.get_recordable_variables()PopulationVertex.get_recording_region()PopulationVertex.get_recording_variables()PopulationVertex.get_ring_buffer_shifts()PopulationVertex.get_sampling_interval_ms()PopulationVertex.get_sdram_usage_for_core_neuron_params()PopulationVertex.get_sdram_usage_for_current_source_params()PopulationVertex.get_sdram_usage_for_neuron_generation()PopulationVertex.get_sdram_usage_for_neuron_params()PopulationVertex.get_state_variables()PopulationVertex.get_structural_dynamics_size()PopulationVertex.get_synapse_dynamics_size()PopulationVertex.get_synapse_expander_size()PopulationVertex.get_synapse_id_by_target()PopulationVertex.get_synapse_params_size()PopulationVertex.get_synapse_variable_sdram()PopulationVertex.get_synapses_size()PopulationVertex.get_units()PopulationVertex.get_weight_scales()PopulationVertex.incoming_poisson_projectionsPopulationVertex.incoming_projectionsPopulationVertex.incoming_spike_buffer_sizePopulationVertex.initial_state_variablesPopulationVertex.inject()PopulationVertex.max_delay_stepsPopulationVertex.max_delay_steps_incomingPopulationVertex.n_atomsPopulationVertex.n_colour_bitsPopulationVertex.n_profile_samplesPopulationVertex.n_synapse_cores_requiredPopulationVertex.neuron_core_binary_file_namePopulationVertex.neuron_implPopulationVertex.neuron_recordablesPopulationVertex.neuron_recorderPopulationVertex.parametersPopulationVertex.pop_seedPopulationVertex.read_initial_valuesPopulationVertex.reset_to_first_timestep()PopulationVertex.ring_buffer_sigmaPopulationVertex.self_projectionPopulationVertex.set_allow_delay_extensions()PopulationVertex.set_current_state_values()PopulationVertex.set_initial_state_values()PopulationVertex.set_max_atoms_per_dimension_per_core()PopulationVertex.set_n_synapse_cores()PopulationVertex.set_not_recording()PopulationVertex.set_parameter_values()PopulationVertex.set_recording()PopulationVertex.set_structure()PopulationVertex.set_synapse_dynamics()PopulationVertex.sizePopulationVertex.spikes_per_secondPopulationVertex.split_binaries_existPopulationVertex.splitterPopulationVertex.state_variablesPopulationVertex.synapse_core_binary_file_namePopulationVertex.synapse_dynamicsPopulationVertex.synapse_executable_suffixPopulationVertex.synapse_recordablesPopulationVertex.synapse_recorderPopulationVertex.use_combined_corePopulationVertex.weight_scale
SpikeProcessingFastProvenanceSpikeProcessingFastProvenance.N_ITEMSSpikeProcessingFastProvenance.earliest_receiveSpikeProcessingFastProvenance.latest_receiveSpikeProcessingFastProvenance.max_size_input_bufferSpikeProcessingFastProvenance.max_spikes_overflowSpikeProcessingFastProvenance.max_spikes_processedSpikeProcessingFastProvenance.max_spikes_receivedSpikeProcessingFastProvenance.max_transfer_timer_overrunSpikeProcessingFastProvenance.n_buffer_overflowsSpikeProcessingFastProvenance.n_dmas_completeSpikeProcessingFastProvenance.n_late_packetsSpikeProcessingFastProvenance.n_rewiresSpikeProcessingFastProvenance.n_skipped_time_stepsSpikeProcessingFastProvenance.n_spikes_processedSpikeProcessingFastProvenance.n_transfer_timer_overruns
SpikeProcessingProvenanceSynapseProvenanceSynapseProvenance.N_ITEMSSynapseProvenance.max_late_spikeSynapseProvenance.n_failed_bitfield_readsSynapseProvenance.n_filtered_by_bitfieldSynapseProvenance.n_ghost_searchesSynapseProvenance.n_invalid_pop_table_hitsSynapseProvenance.n_late_spikesSynapseProvenance.n_plastic_saturationsSynapseProvenance.n_pre_synaptic_eventsSynapseProvenance.n_saturationsSynapseProvenance.n_skipped_synapses
- Subpackages
- spynnaker.pyNN.models.populations package
- Module contents
AssemblyIDMixinPopulationPopulation.add_placement_constraint()Population.all()Population.all_cellsPopulation.annotationsPopulation.can_record()Population.celltypePopulation.conductance_basedPopulation.create()Population.current_valuesPopulation.describe()Population.find_units()Population.first_idPopulation.get()Population.get_data()Population.get_spike_counts()Population.id_to_index()Population.id_to_local_index()Population.index_to_id()Population.initial_valuesPopulation.initialize()Population.inject()Population.labelPopulation.last_idPopulation.position_generatorPopulation.positionsPopulation.record()Population.sample()Population.set()Population.set_max_atoms_per_core()Population.set_state()Population.sizePopulation.spinnaker_get_data()Population.structurePopulation.write_data()
PopulationBasePopulationBase.all_cellsPopulationBase.get_data()PopulationBase.get_spike_counts()PopulationBase.inject()PopulationBase.is_local()PopulationBase.local_cellsPopulationBase.local_sizePopulationBase.mean_spike_count()PopulationBase.nearest()PopulationBase.position_generatorPopulationBase.positionsPopulationBase.receptor_types()PopulationBase.record()PopulationBase.save_positions()PopulationBase.structurePopulationBase.write_data()
PopulationViewPopulationView.all()PopulationView.all_cellsPopulationView.can_record()PopulationView.celltypePopulationView.conductance_basedPopulationView.current_valuesPopulationView.describe()PopulationView.find_units()PopulationView.get()PopulationView.get_data()PopulationView.get_spike_counts()PopulationView.grandparentPopulationView.id_to_index()PopulationView.index_in_grandparent()PopulationView.initial_valuesPopulationView.initialize()PopulationView.inject()PopulationView.labelPopulationView.maskPopulationView.parentPopulationView.position_generatorPopulationView.positionsPopulationView.record()PopulationView.sample()PopulationView.set()PopulationView.set_state()PopulationView.sizePopulationView.spinnaker_get_data()PopulationView.structurePopulationView.write_data()
- Module contents
- spynnaker.pyNN.models.spike_source package
- Submodules
- spynnaker.pyNN.models.spike_source.spike_source_array_machine_vertex module
- Module contents
SpikeSourceArraySpikeSourceArrayVertexSpikeSourceArrayVertex.SPIKE_RECORDING_REGION_IDSpikeSourceArrayVertex.atoms_shapeSpikeSourceArrayVertex.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_bitsSpikeSourceArrayVertex.set_not_recording()SpikeSourceArrayVertex.set_parameter_values()SpikeSourceArrayVertex.set_recording()SpikeSourceArrayVertex.set_structure()
SpikeSourceFromFileSpikeSourcePoissonSpikeSourcePoissonMachineVertexSpikeSourcePoissonMachineVertex.FAST_RATE_PER_TICK_CUTOFFSpikeSourcePoissonMachineVertex.PROFILE_TAG_LABELSSpikeSourcePoissonMachineVertex.SEED_OFFSET_BYTESSpikeSourcePoissonMachineVertex.SEED_SIZE_BYTESSpikeSourcePoissonMachineVertex.SLOW_RATE_PER_TICK_CUTOFFSpikeSourcePoissonMachineVertex.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.parse_extra_provenance_items()SpikeSourcePoissonMachineVertex.read_connections()SpikeSourcePoissonMachineVertex.read_parameters_from_machine()SpikeSourcePoissonMachineVertex.regenerate_data_specification()SpikeSourcePoissonMachineVertex.reload_required()SpikeSourcePoissonMachineVertex.sdram_requiredSpikeSourcePoissonMachineVertex.sdram_requirement()SpikeSourcePoissonMachineVertex.set_rate_changed()SpikeSourcePoissonMachineVertex.set_reload_required()SpikeSourcePoissonMachineVertex.set_sdram_partition()
SpikeSourcePoissonVariableSpikeSourcePoissonVertexSpikeSourcePoissonVertex.SPIKE_RECORDING_REGION_IDSpikeSourcePoissonVertex.add_outgoing_projection()SpikeSourcePoissonVertex.atoms_shapeSpikeSourcePoissonVertex.clear_spike_recording()SpikeSourcePoissonVertex.create_machine_vertex()SpikeSourcePoissonVertex.dataSpikeSourcePoissonVertex.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_edgeSpikeSourcePoissonVertex.kiss_seed()SpikeSourcePoissonVertex.max_n_ratesSpikeSourcePoissonVertex.max_rateSpikeSourcePoissonVertex.max_spikes_per_ts()SpikeSourcePoissonVertex.n_atomsSpikeSourcePoissonVertex.n_colour_bitsSpikeSourcePoissonVertex.n_profile_samplesSpikeSourcePoissonVertex.outgoing_projectionsSpikeSourcePoissonVertex.ratesSpikeSourcePoissonVertex.read_connections()SpikeSourcePoissonVertex.seedSpikeSourcePoissonVertex.set_live_poisson_control_edge()SpikeSourcePoissonVertex.set_not_recording()SpikeSourcePoissonVertex.set_parameter_values()SpikeSourcePoissonVertex.set_recording()SpikeSourcePoissonVertex.set_structure()SpikeSourcePoissonVertex.time_to_spikeSpikeSourcePoissonVertex.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:
AbstractProvidesDefaultsA Model that can be passed in to a Population object in PyNN.
- absolute_max_atoms_per_core = 9223372036854775807¶
- abstractmethod create_vertex(n_neurons: int, label: str) PopulationApplicationVertex[source]¶
Create a vertex for a population of the model.
- Parameters:
n_neurons – The number of neurons in the population
label – The label to give to the vertex
- Returns:
An application vertex for the population
- default_population_parameters: Dict[str, Any] = {}¶
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: str | None = 'modeltype_default.txt', engine: str = 'default') str[source]¶
Returns a human-readable description of the population.
The output may be customised by specifying a different template together with an associated template engine (see
pyNN.descriptions).If
templateisNone, then a dictionary containing the template context will be returned.- Parameters:
template – Template filename
engine – Template substitution engine
- Returns:
A human-readable description
- classmethod get_model_max_atoms_per_dimension_per_core() Tuple[int, ...][source]¶
- Returns:
The maximum number of atoms per dimension per core for this model.
- classmethod get_parameter_names() Sequence[str][source]¶
- Returns:
The names of the parameters of the model.
- classmethod has_parameter(name: str) bool[source]¶
- Parameters:
name – The name of the parameter to check for
- Returns:
True if the model has a parameter with the given name
- classmethod set_model_max_atoms_per_dimension_per_core(n_atoms: None | int | Tuple[int, ...] = None) 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.
- Parameters:
n_atoms – The new maximum, or None for the largest possible
- classmethod verify_may_set(param: str) None[source]¶
- If a Population has been created, this method will raise an
exception; used to avoid setting global limits after a Population has been created.
- Parameters:
param – The parameter name that can be used to set the value being changed in the Population constructor instead.
spynnaker.pyNN.models.defaults module¶
Decorators to support default argument handling.
- class spynnaker.pyNN.models.defaults.AbstractProvidesDefaults[source]¶
Bases:
objectProvides the default_parameters and default_initial_values properties
These will be filled in based on the @default_parameters and @default_initial_values decorators with values read from the init.
- default_initial_values = mappingproxy({})¶
- default_parameters = mappingproxy({})¶
- spynnaker.pyNN.models.defaults.default_initial_values(state_variables: Iterable[str]) Callable[source]¶
Specifies arguments which are state variables. Only works on the
__init__method of a class that is additionally decorated withdefaults()- Parameters:
state_variables – The names of the arguments that are state variables
- Returns:
A check method to be called when first used
- spynnaker.pyNN.models.defaults.default_parameters(parameters: Iterable[str]) Callable[source]¶
Specifies arguments which are parameters. Only works on the
__init__method of a class that is additionally decorated withdefaults()- Parameters:
parameters – The names of the arguments that are parameters
- Returns:
A check method to be called when first used
- spynnaker.pyNN.models.defaults.get_map_from_init(init_method: Callable, skip: FrozenSet[str] | None = None, include: FrozenSet[str] | None = None) Mapping[str, Any][source]¶
Get an argument initialisation dictionary by examining an
__init__method or function.- Parameters:
init_method – The method.
skip – The arguments to be skipped, if any
include – The arguments that must be present, if any
- Returns:
an initialisation dictionary
spynnaker.pyNN.models.projection module¶
- class spynnaker.pyNN.models.projection.Projection(pre_synaptic_population: _Pop, post_synaptic_population: _Pop, connector: AbstractConnector, synapse_type: AbstractSynapseDynamics | None = None, source: None = None, receptor_type: str = 'excitatory', space: PyNNSpace | None = None, label: str | None = None, download_synapses: bool = False, partition_id: str | None = None)[source]¶
Bases:
objectA 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
post_synaptic_population
connector
synapse_type
source – Unsupported; must be None
receptor_type
space
label
download_synapses
- get(attribute_names: str | Sequence[str], format: str, gather: Literal[True] = True, with_address: bool = True, multiple_synapses: Literal['last'] = 'last') ConnectionHolder[source]¶
Get a parameter/attribute of the projection.
Note
SpiNNaker always gathers.
- Parameters:
attribute_names – list of attributes to gather
format –
"list"or"array"gather – Ignored. Purely for PyNN compatibility
with_address – True if the source and target are to be included
multiple_synapses – 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: _Pop¶
The post-population or population view.
- property pre: _Pop¶
The pre-population or population view.
- save(attribute_names: str | Sequence[str], file: str | BaseFile, format: str = 'list', gather: Literal[True] = True, with_address: bool = True) None[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.
- Parameters:
attribute_names
file – filename or open handle (which will be closed)
format
gather – Ignored. Purely for PyNN compatibility
with_address
spynnaker.pyNN.models.recorder module¶
- class spynnaker.pyNN.models.recorder.Recorder(population: Population, vertex: PopulationApplicationVertex)[source]¶
Bases:
objectObject to hold recording behaviour, used by populations.
- Parameters:
population – the population to record for
vertex – the SpiNNaker graph vertex used by the population
- extract_neo_block(variables: Names, view_indexes: Sequence[int] | None, clear: bool, annotations: Dict[str, Any] | None) neo.Block[source]¶
Extracts block from the vertices and puts them into a Neo block.
- Parameters:
variables – the variables to extract
view_indexes – the indexes to be included in the view
clear – if the variables should be cleared after reading
annotations – annotations to put on the Neo block
- Returns:
The Neo block
- Raises:
ConfigurationException – If the recording not setup correctly
- record(variables: Names, to_file: IoDest, sampling_interval: int | None, indexes: Collection[int] | None) None[source]¶
Turns on (or off) recording.
- Parameters:
variables – 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
Noneto reset the list of variables.to_file – a file to automatically record to (optional).
write_data()will be automatically called when sim.end() is called.sampling_interval – a value in milliseconds, and an integer multiple of the simulation timestep.
indexes – 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.
- turn_off_all_recording(indexes: Collection[int] | None = None) None[source]¶
Turns off recording, is used by a pop saying
.record().- Parameters:
indexes
- turn_on_record(variable: str, sampling_interval: int | None = None, to_file: str | neo.baseio.BaseIO | None = None, indexes: Collection[int] | None = None) None[source]¶
Tell the vertex to record data.
- Parameters:
variable – The variable to record, supported variables to record are:
gsyn_exc,gsyn_inh,v,spikes.sampling_interval – the interval to record them
to_file – If set, a file to write to (by handle or name)
indexes – 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
- write_data(csv_file: str, variables: Names | None, view_indexes: Sequence[int] | None = None, annotations: Dict[str, Any] | None = None) None[source]¶
Extracts block from the vertices and puts them into a Neo block.
- Parameters:
variables – the variables to extract
variables – the variables to extract
view_indexes – the indexes to be included in the view
annotations – annotations to put on the Neo block
- Raises:
ConfigurationException – If the recording not setup correctly