Skip to content

Allow custom detector classifiers through the multipass CLI #305

Description

@arshpreetmaan

What is your feature request?

The multipass (PR #256 ) C++ and Python APIs already accept custom detector classifiers with the signature (detector_index, coordinates, tag) -> component_label. The Python interface also supports lambda functions.

The CLI currently uses one automatic classifier that checks measure_basis metadata, then basis metadata, and finally the Chromobius-style fourth detector coordinate.

Add a CLI option for selecting a built-in classifier, such as --multipass-classifier=auto|measure-basis-tag|basis-tag|chromobius-coordinate. It would also be useful to support an arbitrary classifier through a suitable representation, such as an expression or detector-to-component JSON mapping.

What solution or approach do you envision?

No response

How urgent is this for you?

None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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