Skip to content

ValueError: operands could not be broadcast together with shapes (38,12) (456,)  #166

@mireianievas

Description

@mireianievas

While trying to use the gammapy backend, I stomped over some error related to the geometries of the arrays when evaluating the model.

It appears that Synchrotron.evaluate_tau_ssa() is flattening the emissivity array over energies, causing this error:

ValueError: operands could not be broadcast together with shapes (38,12) (456,)

Here 38 is the number of energy bins

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions