Skip to content

fd.TemplateSource.simulate bug when multihist.axis_names not properly defined #245

@plt109

Description

@plt109

Describe the bug and how to reproduce

Simulating events from a fd.TemplateSource constructed with a 3d multihist returned MC events in a dataframe that has only 2 dimensions. This is most likely because the axis_names of the 3d multihist was poorly defined, although it is indeed a list of length 3.
Screenshot from 2022-08-03 17-15-12

Expected behavior

Simulating events from a fd.TemplateSource constructed with a 3d multihist but with axis_names with no empty strings indeed returned MC events with the correct number of observables.
Screenshot from 2022-08-03 17-15-47

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