Skip to content

Commit

Permalink
merged in master
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 7, 2023
2 parents 25a076b + ba1fbf3 commit 4699099
Showing 1 changed file with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,6 @@ class POISSON_SPIKE_SOURCE_REGIONS(IntEnum):
0: "TIMER",
1: "PROB_FUNC"}

class EXTRA_PROVENANCE_DATA_ENTRIES(IntEnum):
"""
Entries for the provenance data generated by standard neuron models.
"""
#: The number of pre-synaptic events
TDMA_MISSED_SLOTS = 0

# The maximum timestep - this is the maximum value of a uint32
_MAX_TIMESTEP = 0xFFFFFFFF

Expand Down Expand Up @@ -242,7 +235,7 @@ def _provenance_region_id(self):
@property
@overrides(ProvidesProvenanceDataFromMachineImpl._n_additional_data_items)
def _n_additional_data_items(self):
return 1
return 0

@overrides(AbstractReceiveBuffersToHost.get_recorded_region_ids)
def get_recorded_region_ids(self):
Expand All @@ -261,15 +254,6 @@ def get_profile_data(self, placement):
self.POISSON_SPIKE_SOURCE_REGIONS.PROFILER_REGION,
self.PROFILE_TAG_LABELS, placement)

@overrides(ProvidesProvenanceDataFromMachineImpl.
parse_extra_provenance_items)
def parse_extra_provenance_items(self, label, x, y, p, provenance_data):
n_times_tdma_fell_behind = provenance_data[
self.EXTRA_PROVENANCE_DATA_ENTRIES.TDMA_MISSED_SLOTS]

yield self._app_vertex.get_tdma_provenance_item(
x, y, p, label, n_times_tdma_fell_behind)

@overrides(AbstractHasAssociatedBinary.get_binary_file_name)
def get_binary_file_name(self):
return "spike_source_poisson.aplx"
Expand Down

0 comments on commit 4699099

Please sign in to comment.