Skip to content

Idea: move particle search functionality to a new ParticleDB class #277

@eduardo-rodrigues

Description

@eduardo-rodrigues

The idea has been around in our heads for a while. It came out again in discussions in #263. Let's have this as a possible API for version 1.0.

For reference: indeed the present Particle class is both the class for particle properties and for searches. For example Particle.from_pdgid() returns a Particle instance whereas Particle.findall() returns a list of Particle instances. While very powerful, this may be confusing at first. One could split functionality between a slightly different Particle class and a Particles/ParticleTable class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions