Skip to content

Commit

Permalink
Fixing a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuhone committed Nov 10, 2016
1 parent 943db4f commit f3d9be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxsim/instruments.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def convolve_energies(self, events, prng):
events.events[key] = events[key][eidxs]

events.events["eobs"] = YTArray(sorted_e, "keV")
events.events[rmf.header["CHANTYPE"]] = np.array(detectedChannels, dtype="int")
events.events[rmf.header["CHANTYPE"]] = np.concatenate(detectedChannels).astype("int")

events.parameters["RMF"] = rmf.filename
events.parameters["ChannelType"] = rmf.header["CHANTYPE"]
Expand Down

0 comments on commit f3d9be8

Please sign in to comment.