-
I have been trying to read a data file and plot it using FluxPoints but I keep getting an error. I have updated the data file by making the following changes:
but none of this worked. Tried using: from gammapy.estimators import FluxPoints Error:
table = Table.read("test_table.ecsv") Error:
**datasets = Datasets() for group in table.groups: datasets.models = SkyModel()** Error:
The data file looks like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi Pooja, It seems to want to have the units in the header, not just in the comments, so:
... works for me (but then trying fp.plot gives the same error as in the other discussion: #3727) |
Beta Was this translation helpful? Give feedback.
-
Answered by @adonath, in #3727 (reply in thread) |
Beta Was this translation helpful? Give feedback.
-
Hello all, |
Beta Was this translation helpful? Give feedback.
Answered by @adonath, in #3727 (reply in thread)