jiangyi15 / tf-pwa

Partial Wave Analysis using TensorFlow.
MIT License
27 stars 13 forks source link

feat: plot 2d pull directly #104

Closed jiangyi15 closed 1 year ago

jiangyi15 commented 1 year ago
config.plot_adaptive_2dpull("m_R_BC**2", "m_R_CD**2")
x, y = config.get_dalitz_boundary("R_BC", "R_CD")
plt.plot(x,y, color="red")
plt.savefig("dalitz_pull.png")
codecov[bot] commented 1 year ago

Codecov Report

Merging #104 (2b6b523) into dev (b6b49f3) will increase coverage by 0.43%. Report is 1 commits behind head on dev. The diff coverage is 83.79%.

@@            Coverage Diff             @@
##              dev     #104      +/-   ##
==========================================
+ Coverage   75.41%   75.84%   +0.43%     
==========================================
  Files         108      108              
  Lines       15460    15559      +99     
  Branches     2895     2920      +25     
==========================================
+ Hits        11659    11801     +142     
+ Misses       3115     3067      -48     
- Partials      686      691       +5     
Flag Coverage Δ
unittests 75.84% <83.79%> (+0.43%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
tf_pwa/config_loader/plot.py 79.91% <82.63%> (+7.36%) :arrow_up:
tf_pwa/adaptive_bins.py 85.90% <100.00%> (-0.49%) :arrow_down:
tf_pwa/tests/test_full.py 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

jiangyi15 commented 1 year ago

plot as adptive_2d