You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: 'AffineScalarFunc' object has no attribute 'item'
This is not a problem when just summing over some axes such as in map.sum(axis=('reco_energy', 'reco_coszen')), and it is also not a problem when the map has no errors. Without errors, a single count over all bins is returned, as one would expect.
I attached a map with uncertainties in JSON for testing: muon_map.json.zip
The text was updated successfully, but these errors were encountered:
atrettin
changed the title
Summing Map with uncertainties over all dimensions fails.
Summing Map with uncertainties over all dimensions fails
Mar 17, 2020
When summing a map that has errors over all of its dimensions with
map.sum()
, the following error occurs:This is not a problem when just summing over some axes such as in
map.sum(axis=('reco_energy', 'reco_coszen'))
, and it is also not a problem when the map has no errors. Without errors, a single count over all bins is returned, as one would expect.I attached a map with uncertainties in JSON for testing:
muon_map.json.zip
The text was updated successfully, but these errors were encountered: