jzuhone / pyxsim

Simulating X-ray observations from astrophysical sources.
http://hea-www.cfa.harvard.edu/~jzuhone/pyxsim
Other
20 stars 8 forks source link

Can I draw an absorption line of a specific atom? #8

Closed dingjiao22 closed 6 years ago

dingjiao22 commented 7 years ago

When I generate an Event List, I use "tbabs" absorption modol and get a spectrum from it. But besides, I also want to get and draw an absorption line of a specific atom, such as O or H, in the spectrum, like the emission line from dark matter particles in your examples. Is that possible? Since I don't know much about the foreground galactic absorption. Thank you very much!!

PS: Thank you for solving my previous issue!

jzuhone commented 7 years ago

@dingjiao22 sorry, somehow I missed this issue. my apologies.

We don't have this capability in the code yet, but it would be nice. It also may depend a bit on whether or not you are interested in absorption intrinsic to the source or just foreground galactic absorption.

dingjiao22 commented 7 years ago

Thank you so much! I only consider the foreground galactic absorption.