Skip to content

4detector station can and do recieve configs without slave and break #192

@tomkooij

Description

@tomkooij

Stations with master/slave (4 detectors) can recieve erroneous config messages without slave. (s9 oct 29, s502 oct 11). ref #191

This breaks reconstructions: The api.Station object reads the most recent config, with 2 scintillators. This means api.Station.n_detectors == 2 and len(cluster.station.detectors) == 2

When reconstructing ESD events with 4 detectors, code like dx, dy, dz = self.station.detectors[id].get_coordinates() will obviously throw an IndexError.

As we cannot easily refurse/delete/ignore erroneous configs, we must fix api.Station (get rid of n_detectors???)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions