Skip to content

storing module type combos / module number combos in dictionary is 2 int keys #154

@gschramm

Description

@gschramm

Currently, the ModulePairSGID LUT is a 2D (always symmetric?) array, whereas the module type combinations are encoded as list of lists.
The latter leaves ambiguity whether for a scanner with two module types, to take into account module type combinations:

0,0
1,0
0,1
1,1

or

0,0
1,0
1,1

The latter makes most sense to me because of symmetry.

To avoid ambiguities, the possible combinations could be stored as a dict with two int keys instead of using lists of lists or 2D arrays.

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