SpiNNakerManchester / SpiNNMachine

A python module which contains a representation of the SpiNNaker Machine
Apache License 2.0
4 stars 3 forks source link

Chip and View get_none_monitor cores #182

Closed Christian-B closed 8 months ago

Christian-B commented 2 years ago

The pattern

[p.processor_id for p in FecDataView.get_chip_at(x, y).processors if not p.is_monitor]

happens in several places.

maybe move to Chip and semantic sugar in View

Christian-B commented 2 years ago

Maybe also look how often it is combined with p = cores[self.__system_placements.n_placements_on_chip(x, y)]