Git Product home page Git Product logo

Comments (7)

kdere avatar kdere commented on August 20, 2024

I have just received my IDL license but have not installed it - probably today. If you want to keep looking at this, go ahead. I have a high regard for Peter's programming. I am now hoping to do the ionization cross-sections/rates by comparing to what I did in IDL

from chiantipy.

wtbarnes avatar wtbarnes commented on August 20, 2024

Yes I was using the IDL code as the baseline. I will try to fix this soon. I think it should be a pretty simple patch.

from chiantipy.

kdere avatar kdere commented on August 20, 2024

OK, that is fine. I just got my IDL license installed but have not set up everything yet.

from chiantipy.

wtbarnes avatar wtbarnes commented on August 20, 2024

In the p2eRatio method, self.EDensity is set as the numerator in the expression used to calculate the proton to electron ratio (link). If eDensity is set when the ion object is instantiated, this is overridden.

What is the reason for setting the EDensity attribute here? It seems that in the case where eDensity is not set, this results in self.EDensity being set incorrectly.

from chiantipy.

kdere avatar kdere commented on August 20, 2024

That bit of code where
self.EDensity = edensity
definitely does not look right. self.EDensity should never be overwritten
Do you want to continue with this or me? It is fine with me if you do it.

from chiantipy.

wtbarnes avatar wtbarnes commented on August 20, 2024

I can fix this when I implement the proposed changes to the p2eRatio method.

from chiantipy.

wtbarnes avatar wtbarnes commented on August 20, 2024

Closing as this is Fixed by #74

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.