-
Notifications
You must be signed in to change notification settings - Fork 31
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
IDL and ChiantiPy gives different results. #420
Comments
I have also made a link with all the related files and codes, if you want to look into it. |
Re the continuum results, this also may be related to #118 |
Seems like this is beyond my level of understanding, but please let me know if I can do something to help for investigating this. Also, I don't know if it is relevant, but we first noticed the discrepancy while working in the soft X-ray wavelengths (approximately 0.1 - 10 nm range). |
I have done some testing for oxygen ions but it is difficult to sort out a spectrum consisting of many elements and ions. Also, I do not have an IDL license to I have to get someone to do IDL calculations for me. At this point, I am not exactly sure what I will do.
…________________________________
From: MadFisa ***@***.***>
Sent: Sunday, December 18, 2022 4:25 AM
To: chianti-atomic/ChiantiPy ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [chianti-atomic/ChiantiPy] IDL and ChiantiPy gives different results. (Issue #420)
Seems like this is beyond my level of understanding, but please let me know if I can do something to help for investigating this. Also, I don't know if it is relevant, but we first noticed the discrepancy while working in hte soft X-ray wavelengths (approximately 0.1 - 10 nm range).
—
Reply to this email directly, view it on GitHub<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchianti-atomic%2FChiantiPy%2Fissues%2F420%23issuecomment-1356752773&data=05%7C01%7Ckdere%40gmu.edu%7C367810833a9745a2441b08dae0d9be88%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C638069523053586216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=HJ%2BqgNbXtyh%2FFKHqwNo91DdItUEm5Y%2F1k85YLUmwI3M%3D&reserved=0>, or unsubscribe<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAFUQVVB2GA252R7LW6I4XLWN3J63ANCNFSM6AAAAAAS7OHLWE&data=05%7C01%7Ckdere%40gmu.edu%7C367810833a9745a2441b08dae0d9be88%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C638069523053742479%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FYgOrf9gIhF7oxmtYqbp1TGV1mVN%2BR2t2JO7S7rT2cE%3D&reserved=0>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi,
I was generating a lookup table for spectra of individual elements for creating a look up table. While doing the analysis, I found that my results were different from my collaborator. On further investigation, we found that the spectra generated by the IDL scripts he used was different from the ones I generated using the ChiantiPy. I will attach the results below. The plots are generated using mspectrum class with unity abundance. If images looks too small in github, downloading and viewing should help.
This is the continuum for each element plotted with IDL using solid lines and Python with dotted lines. Different colors are different temperatures.
We can see there is a difference in the values after first row of elements. Next plot shows the ratio IDL/Python for the elements. Note that ratio for Cu, V and Sc is in 1e10s . These particular elements show biggest difference and as far as I know, do not have ions in CHIANTI.
Next plot shows line calculation for each elements for a particular temperature with IDL in solid blue and python ones in dotted orange.
Here also we can see some differences. Next plot is the ratio.
I have also attached the codes used to generate the IDL and python spectra.
IDL code
Python code
I am not sure what is the reason for this discrepancy, especially in the continuum. I am sorry if its as simple as missing some keyword arguments. Is this discrepancy known?
The text was updated successfully, but these errors were encountered: