Skip to content

Feature Request: Need python interface #74

Description

@acampove

Hi,

Most of the people I know do not use C++ anymore. Having a python interface to programmatically get these decays is going to make life easier for the user. I am thinking of something like:

from rapidsim import Generator

gen = Generator(decay='B+->phi ee') # specify decay
gen.energy = 8000                                 # Center of mass energy, etc
...

df = gen.run(nentries=5000)   # put 5000 candidates in a pandas dataframe

Cheers.

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