Hadron2pt routines (quark contraction routines + Light-Strange-Heavy spectrum), Nucleon3pt sequential sources, Spin Matrices, Wuppertal quark smearing, Ape-link smearing, Polyakov loop
Added routines for mesons2pt, meson3pt with specific momentum projection and spin matrices
Codecov Report
Merging #50 into master will decrease coverage by
0.67%. The diff coverage is53.64%.
@@ Coverage Diff @@
## master #50 +/- ##
==========================================
- Coverage 90.12% 89.45% -0.68%
==========================================
Files 110 113 +3
Lines 5781 6001 +220
==========================================
+ Hits 5210 5368 +158
- Misses 571 633 +62
| Impacted Files | Coverage Δ | |
|---|---|---|
| lib/gpt/core/spinmatr.py | 10.44% <10.44%> (ø) |
|
| lib/gpt/core/colormatr.py | 11.76% <11.76%> (ø) |
|
| lib/gpt/core/spin_matrices.py | 53.57% <53.57%> (ø) |
|
| lib/gpt/core/otype.py | 97.71% <94.73%> (+0.08%) |
:arrow_up: |
| lib/gpt/core/__init__.py | 100.00% <100.00%> (ø) |
|
| lib/gpt/core/expr.py | 83.25% <100.00%> (+0.95%) |
:arrow_up: |
| lib/gpt/core/operator/matrix_operator.py | 96.59% <100.00%> (+0.81%) |
:arrow_up: |
| lib/gpt/core/util.py | 100.00% <100.00%> (ø) |
|
| lib/gpt/qcd/fermion/register.py | 100.00% <100.00%> (ø) |
|
| lib/gpt/default.py | 91.25% <0.00%> (-4.59%) |
:arrow_down: |
| ... and 19 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 8c04eba...dfabb91. Read the comment docs.
Dear Lorenzo, it looks like you added the .o files to the git repository. Please kindly remove them from the version history. (git rm) Thanks!
Also all the out and err files need to be removed. Thanks!
Hi Lorenzo, the .o files are still part of the repository, could you remove them as well? They should not be included with git add . The "Files changed" tab here provides a nice overview with what you added (143 files currently) and I think you only wanted to add O(4) ? I will look in more detail at the rest later. Thanks!
Hi Lorentzo,
thanks for cleaning up and for your work! A few more points:
-
All of this infrastructure is QCD/Gauge-theory-specific and should be moved outside of core and into "qcd".
-
We need to discuss the naming schemes to be more in line with the rest of the code.
-
The mathematical expressions motivating the individual quark contraction needs to be added as a comment. Look, e.g., into lib/gpt/algorithms/inverter/defect_correcting.py .
-
The role of the provided tests is not clear. The 2pt and 3pt tests do not seem to check anything that was not checked before in the current test suit. They probably should be moved to the applications directory and made part of a standard measurement package. The more specific tests are incomplete (do not test all functions) and should be performed using properties of the functions instead of repeating the code.
We should discuss these points in the next GPT meeting to make a work plan. (I, e.g., could deal with the naming/infrastructure questions, but it would be great if we first discuss the tests and you could work on those.)
Cheers,
Christoph
In addition to the last comments, the code is Nc=3 specific. The code would likely be more elegant and reusable if we introduced the concept of epsilon tensors and wrote this out as general tensor contractions. Your current code could then serve as a test for the Nc=3 case. Let us also discuss this in the next meeting.
Dear Christoph,
I completely agree with all the points you are mentioning and I wanted to discuss those in detail in the next GPT meeting.
Cheers, Lorenzo
Dear Christoph, the routines work fine and they are ready for your review. In particular, we should discuss:
- how to handle with the h5py library to pass the tests;
- do we want a parameter list to read as an input file? This way, we could store the parameters into the hdf5 and make the simulation reproducible;
- modularity of the baryon code;
- test routines for coverage.
When you have time we can finalize this. Thanks a lot. Cheers, Lorenzo