• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

icecube / flarestack / 21827235999
72%

Build:
DEFAULT BRANCH: master
Ran 10 Feb 2026 10:09AM UTC
Jobs 3
Files 51
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Feb 2026 01:36PM UTC coverage: 71.857% (-1.0%) from 72.874%
21827235999

push

github

web-flow
Implementation of diffuse flux in the background (#449)

* make SoB splines class

* 1. add bkg spatial into SoB_splines class
2. remove kwargs from class init, instead takes a dict where name, smoothing order, and gamma precision should be in. NO default vals!  The latter 2 can be of str type.
3. bkg_weights class method returns NotImplementedError instead of array of 1s
4. remove obsolete environment smoothing & precision keys
5. remove redundant if clauses pertaining to making smoothing order an int & environment key in make_2d_spline_from_hist method
6.  type annotate smoothing order to int where needed
7. remove kwargs from methods, use the class params instead
8. change the plot paths in make_individual_spline_set method to include a suffix with the subclass name if not "no_difffuse". The sig, SoB hist & splines plots will now be under the <gamma>/precision<float>_smoothing<int> dir
9. change the SoB_spline_path func args to include the sob dict as kwargs in make_splines & load_spline methods
10. BugFix: use per-flavour fluxes for SPL & BPL subclasses
11. BugFix: make the diffuse + atm weights an np.array
12. BPL subclass get_diffuse_flux method returns fluxes and respective masks for the 2 energy ranges. That accommodates the subclass bkg_weights method to comply with returning a single weights array

_Note to self: commit more oft!_

* import  SoB_splines class to use its staticmethod make_plot

* add SoB class name in the spline paths if it's NOT the default "no_difffuse" (ie atm-only). Adds extra arg in the smoothing_precision_string, llh_energy_hash_pickles, and bkg_spline_path func

* add simulate_bkg_with_diffuse method in the NTSeason. Same as the simulate_background(), but takes a bkg_weights func as an arg, so that the diffuse + atm weights are calculated for given MC

* 1. add simulate_bkg_with_diffuse() in Season, which raises NotImplementedError (only for NT!!)
2. add SoB arg in make_background_spatial(). The SoB_splines.mmake_backg... (continued)

4532 of 6307 relevant lines covered (71.86%)

0.72 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
11
56.6
-0.05% core/spatial_pdf.py
17
81.25
-0.93% shared.py
37
72.46
1.24% data/__init__.py
75
71.59
-1.27% core/results.py
84
47.74
-0.67% cluster/submitter.py
85
86.18
0.11% core/minimisation.py
101
57.77
0.36% core/injector.py
113
61.74
-20.0% utils/make_SoB_splines.py
127
75.57
-0.08% core/llh.py
Jobs
ID Job ID Ran Files Coverage
3 python3.11 - 21827235999.3 10 Feb 2026 10:09AM UTC 51
71.86
GitHub Action Run
2 python3.12 - 17495033778.2 05 Sep 2025 01:56PM UTC 51
72.81
GitHub Action Run
3 python3.10 - 17495033778.3 05 Sep 2025 01:57PM UTC 51
72.87
GitHub Action Run
Source Files on build 21827235999
  • Tree
  • List 51
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21827235999
  • 04aee414 on github
  • Prev Build on master (#17495033778)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc