Comments (9)
One of the problems with the free-free is the use of the non-relativistic gaunt factors. It is possible that it is that simple except the interpolation of the relativistic/Itoh values is complicated so I have not done it.
There is no simple explanation for the free-bound except that it is a mess. At this point, I am not sure what the easiest way to chase this down. Perhaps it can be done a single ion at a time. It may be the free-bound gaunt factor.
Also, the proton density should not enter into any of this.
from chiantipy.
Ok. I just wanted to make sure I was not making a simple mistake in interpreting the output, either on the IDL or Python end.
I will take a look into both the free-free and the free-bound methods then. I'm currently trying to use both of these to include the continuum contribution in the calculation of the AIA response functions in SunPy so I have a stake in getting these right!
The calculation for both methods seems pretty clearly laid out in both of the IDL methods. I will try to follow those and the relevant papers and see where I get.
from chiantipy.
I really have not looked at this for a long time and I rarely do anything in IDL anymore.
Peter Young ([email protected]) redid the Itoh a while ago. The Itoh calculations do not include the full area of temperature and wavelength that we typically use. He then inserted the Sutherland values for the remaining area. It would be a good idea to talk to him. For the Itoh gaunt factors, I was planning to eventually use the scipy.spatial routines, probably Delaunay for doing this but did not get around to it as it is somewhat complicated.
For the free-bound, I think we use the same gaunt factors. The best approach would be to chase things down ion by ion. It probably would not take many to find out what is happening
from chiantipy.
as for the question about Z_j^2 vs Z^2, I would ask Peter Young. Generally Z is the nuclear charge and for relativistic calculations I would not think the electrons present would change this.
from chiantipy.
Thanks for putting me in touch with Peter.
Doesn't the free-free ChiantiPy continuum include the gaunt factors of Itoh (starting at this line)? It looks like you've implemented roughly the same correction as the IDL code: calculate Itoh gaunt factors and then fill in with Sutherland where the Itoh values are not valid.
Disregard the last comment re: Z_j vs Z. I think I was just misinterpreting how the expression for the free-free emission is written in a few different papers.
from chiantipy.
I had forgotten about that. It does take the Sutherland if it seems to be OK and then, if not, uses the Itoh. The Itoh factors are probably(?) only rarely used.
from chiantipy.
As an update, here are the corrected free-free and free-bound emission as calculated by ChiantiPy. They compare quite well to the IDL results (as seen above),
from chiantipy.
looks much better!
I am just trying to clarify a few thing before doing the PR.
from chiantipy.
Closed by #114
from chiantipy.
Related Issues (20)
- ch_ss like synthetic spectra with chiantipy HOT 5
- AttributeError: module 'ChiantiPy.tools.data' has no attribute 'Abundance' HOT 27
- conda-forge package HOT 4
- KeyError on windows 10 HOT 5
- Error on running provided jupyter notebooks in the repo HOT 3
- line identifications in spectrum plot HOT 13
- Ability to give custom abundance files HOT 8
- Error while using spectrum with elementList only when all the ions are not present in the masterlist HOT 7
- Unexpected behavior when setting minAbund lower than lowest abund HOT 3
- Error when giving "Zn" in elementlist HOT 2
- How much memory does the mspectrum process consumes? HOT 1
- Chianti is taking more threads than specified HOT 2
- Clarify emission measure units in the function documentations. HOT 2
- Question: Support for photons/keV completed? HOT 10
- Getting spectrum from Ch.spectrum without smoothing/filtering HOT 4
- IDL and ChiantiPy gives different results. HOT 4
- Possible typo in function's documentation HOT 1
- NaNs generated when calculating spectra under certain conditions HOT 9
- Upload 0.15.1 to PyPI HOT 3
- Non-ionization equilibrium? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chiantipy.