Coder Social home page Coder Social logo

kkumer / gepard Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 18.38 MB

Tool for studying the 3D quark and gluon distributions in the nucleon

Home Page: https://gepard.phy.hr/

License: GNU Affero General Public License v3.0

Python 100.00%
gluon nucleon particle-physics physics proton qcd quark

gepard's People

Contributors

kkumer avatar marijacuic avatar

Stargazers

 avatar

Watchers

 avatar

gepard's Issues

Overflow in tan

When running on MS Windows, I get

Warning (from warnings module):
  File [...]\Python310\site-packages\gepard\evolution.py", line 270
    tginv = ephnd/np.tan(np.pi*znd/2)
RuntimeWarning: overflow encountered in tan

And three other tan overflows in other places, all related to MSBAR non-diagonal evolution.
Number obtained at the end looks all right, though. No such error on Linux.

pybrain model is severely suboptimal

Calculation of given CFF is done by activating a net, which calculates all CFFs, and then disposing of all CFFs apart from the needed one. This is then repeated for each needed CFF. This makes everything slower by a factor of 5-10.

Superfluous nodes in DR output layers

CFFs that are not trained but are calculated from other CFFs (like in dispersion relations approach or flavor decomposition) still must be present as nodes in output layer. This probably doesn't lead to any errors, but is confusing and unclean coding.

Numeric regressions

Some tests slightly failing for unknown reasons. Nothing show-stopping:

  1. test_fit2 8.139 != 8.489. This is found to be due to pyminuit --> iminuit change (tests passes on initial release of py2 branch, and then fails like above after commenting out pyminuit import.) It is not clear why other fits are not affected by this package change. We should just go to iminuit and not worry about this one.

  2. ntgl2 DVEMNLO_test.py:test_gepardTFFsNLO 0.54106 != 0.53283. Same for py2 and py3.

hubDict cannot be unpickled in py3

Namely, while unpickling, __setitem_ is called before __init__ or __setstate__ and then self.d1 is still undefined. To resolve, see here but it may involve another one-time transcoding of database in python2 code.

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.