Git Product home page Git Product logo

Comments (9)

kdere avatar kdere commented on July 19, 2024

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.

wtbarnes avatar wtbarnes commented on July 19, 2024

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.

kdere avatar kdere commented on July 19, 2024

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.

kdere avatar kdere commented on July 19, 2024

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.

wtbarnes avatar wtbarnes commented on July 19, 2024

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.

kdere avatar kdere commented on July 19, 2024

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.

wtbarnes avatar wtbarnes commented on July 19, 2024

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),
image

image

from chiantipy.

kdere avatar kdere commented on July 19, 2024

looks much better!
I am just trying to clarify a few thing before doing the PR.

from chiantipy.

wtbarnes avatar wtbarnes commented on July 19, 2024

Closed by #114

from chiantipy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.