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

icecube / flarestack / 17495033778

05 Sep 2025 01:46PM UTC coverage: 72.874% (-0.5%) from 73.327%
17495033778

push

github

web-flow
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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.22
/data/__init__.py


Source Not Available

The file "data/__init__.py" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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