|
Ran
|
Jobs
3
|
Files
51
|
Run time
1min
|
Badge
README BADGES
|
push
github
Use King function for Northern Tracks PSF (#444) * Use astropy Tables for data everywhere * Load npz file if present * Improve cache coherence in NTSeason.simulate_background Cuts time in Injector.create_dataset() from ~1500 ms to ~600 ms * CircularGaussian: do not attempt to modify data in-place * Blacken/isorten following #415 * Use Table for EffectiveAreaInjector * Annotate factory functions * Avoid modifying columns in place * Use instance variables in NorthernTracksKDE * Normalize KDE PDF to region of interest * Speed up TableInjector by a factor ~2 when drawing ~175 events from 11.5e6 MC events across 1000 sources * Speed up StaticFloor numpy broadcasting is much faster than a list comprehension * Cache effective injection time for steady sources There's no point in calculating this tens of thousands of times, since it's independent of the source for a steady time pdf * Remove upper bound on n_s * Squeeze the last bits of fluff out of StdMatrixKDEEnabledLLH.get_spatially_coincident_indices Unexpected bottlenecks: - Repeatedly slicing into astropy Tables (overhead from copying units) - Temporary arrays in ra_dist and angular_distance * Evaluate SoB for different gammas lazily Keys appear as before, but values are only evaluated when accessed. Speeds up initialization when gamma is not being fitted. * Use less accurate (but much faster) angular distance calculation in NorthernTracksKDE * Annotate PDF factory functions * HACK: allow StdMatrixKDEEnabledLLH to use CircularGaussian pdf * Revert "Annotate PDF factory functions" This reverts commit 9afa53e13. * Normalize gaussian PDF * WIP: King function PSF * chore: annotate BaseInjector * Allow Season to simulate background only in the source box * Evaluate energy SoB lazily * Add log of King PDF * Add an option to disable energy S/B interpolation The 2nd-order spline interpolation does not necessarily reflect the normalization of the u... (continued)
4508 of 6186 relevant lines covered (72.87%)
2.19 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
86.96 |
1.24% | utils/catalogue_loader.py |
| 4 |
96.71 |
0.0% | data/public/icecube/__init__.py |
| 20 |
71.22 |
-1.06% | data/__init__.py |
| 33 |
81.74 |
-0.28% | utils/make_SoB_splines.py |
| 34 |
39.29 |
7.78% | icecube_utils/dataset_loader.py |
| 56 |
67.14 |
0.0% | core/time_pdf.py |
| 62 |
69.38 |
1.33% | core/angular_error_modifier.py |
| 95 |
56.65 |
-7.21% | core/spatial_pdf.py |
| 99 |
57.41 |
0.4% | core/injector.py |
| 101 |
86.08 |
-0.15% | core/minimisation.py |
| 132 |
75.65 |
-0.51% | core/llh.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | python3.11 - 17495033778.1 | 51 |
72.87 |
GitHub Action Run | |
| 2 | python3.12 - 17495033778.2 | 51 |
72.81 |
GitHub Action Run | |
| 3 | python3.10 - 17495033778.3 | 51 |
72.87 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|