-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xsapec abundance not available #15
Comments
That doesn't sound right. I'll have to dig into this but I have just had no free time recently (hence the delay in responding). |
You are meant to be able to access the xsapec.abundanc values - e.g. https://deproject.readthedocs.io/en/latest/examples/tie.html shows an example with xsmekal, and it should work the same way. Can you show a fragment of code showing your call to get the abundance and the output? |
Thank you for your reply! I thought it would be simple too... Here is an excerpt from the code. `dep = deproject.Deproject(radii=[float(x) for x in region_vals]* u.arcsec)
It is in the last line where I try to get the abundance. If I change the line to Thank you :) |
So I can call
So I can get the values from an APEC model. If I call
So it works for me. I'm not sure why it isn't for you. One thing I notice is that you have multiple datasets per annulus, and I wonder if that has messed things up somehow. If you change you code to the following (ie only have one obsid per annulus) does this work?
|
Hello,
There does not appear to be any method for determining the abundance calculated from xspec's apec function. If I set the model to 'xsphabs*xsapec' I am only able to recover xsapec.kT and xsapec.norm, but not xsapec.abundanc despite the fact that I am able to set an initial abundance. Am I missing something?
The text was updated successfully, but these errors were encountered: