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

icecube / flarestack
73%

Build:
DEFAULT BRANCH: master
Repo Added 04 Dec 2020 09:57AM UTC
Files 51
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • CI-python-3.11
  • NT-time-fix
  • black23
  • blazarpde
  • ccsn_paper
  • cluster-submission-fixes
  • contribute
  • coveralls
  • coveralls-action
  • covergae_version
  • data-type
  • dataset-index
  • decay_time_pdf
  • dependabot/pip/astropy-6.0.1
  • dependabot/pip/black-24.10.0
  • dependabot/pip/black-24.3.0
  • dependabot/pip/black-24.4.0
  • dependabot/pip/black-24.4.1
  • dependabot/pip/black-24.4.2
  • dependabot/pip/black-24.8.0
  • dependabot/pip/black-25.1.0
  • dependabot/pip/certifi-2024.7.4
  • dependabot/pip/coveralls-4.0.0
  • dependabot/pip/coveralls-4.0.1
  • dependabot/pip/h11-0.16.0
  • dependabot/pip/idna-3.7
  • dependabot/pip/isort-6.0.1
  • dependabot/pip/jinja2-3.1.4
  • dependabot/pip/jinja2-3.1.5
  • dependabot/pip/jinja2-3.1.6
  • dependabot/pip/jupyter-1.1.0
  • dependabot/pip/jupyter-1.1.1
  • dependabot/pip/jupyterlab-4.2.5
  • dependabot/pip/jupyterlab-4.4.8
  • dependabot/pip/matplotlib-3.8.4
  • dependabot/pip/matplotlib-3.9.1
  • dependabot/pip/matplotlib-3.9.1.post1
  • dependabot/pip/matplotlib-3.9.2
  • dependabot/pip/matplotlib-3.9.3
  • dependabot/pip/matplotlib-3.9.4
  • dependabot/pip/mypy-1.10.0
  • dependabot/pip/mypy-1.11.1
  • dependabot/pip/mypy-1.11.2
  • dependabot/pip/mypy-1.12.0
  • dependabot/pip/mypy-1.12.1
  • dependabot/pip/mypy-1.13.0
  • dependabot/pip/mypy-1.14.0
  • dependabot/pip/mypy-1.14.1
  • dependabot/pip/mypy-1.15.0
  • dependabot/pip/mypy-1.16.0
  • dependabot/pip/nbsphinx-0.9.4
  • dependabot/pip/nbsphinx-0.9.5
  • dependabot/pip/nbsphinx-0.9.6
  • dependabot/pip/nbsphinx-0.9.7
  • dependabot/pip/notebook-7.2.2
  • dependabot/pip/numexpr-2.10.0
  • dependabot/pip/numexpr-2.10.2
  • dependabot/pip/pillow-10.3.0
  • dependabot/pip/pre-commit-4.2.0
  • dependabot/pip/requests-2.32.0
  • dependabot/pip/requests-2.32.4
  • dependabot/pip/scipy-1.13.0
  • dependabot/pip/setuptools-78.1.1
  • dependabot/pip/tornado-6.4.1
  • dependabot/pip/tornado-6.4.2
  • dependabot/pip/tornado-6.5.1
  • dependabot/pip/urllib3-2.2.2
  • dependabot/pip/urllib3-2.2.3
  • dependabot/pip/urllib3-2.3.0
  • dependabot/pip/urllib3-2.4.0
  • dependabot/pip/urllib3-2.5.0
  • dependabot/pip/zipp-3.19.1
  • dockerise
  • docs-patch
  • feature-maxfev-resultshandler
  • fix-ntrials-override
  • fix_gamma
  • fix_pull_correction
  • flexipendencies
  • improve-astronomy
  • improve-cache-coherency
  • improve-comments-errmsg
  • improve-path-handling
  • injector-revision
  • kde_spatial_pdf
  • king-psf-wip
  • less-verbosity
  • lint
  • mcmc_jul22
  • mfga
  • minor_bug_fixes
  • modify_std_matrix_kde_create_kwargs
  • mypy
  • new-datasets
  • npx_submitter
  • poetry
  • ps_cat
  • pstracks-4.2
  • pythonise
  • remove-interp2d
  • rh-decouple-background
  • rh-improvements
  • single-core-processing
  • v2.4.10
  • v2.4.6
  • v2.4.7
  • v2.4.8
  • v2.4.9

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

Relevant lines Covered
Build:
Build:
6186 RELEVANT LINES 4508 COVERED LINES
2.19 HITS PER LINE
Source Files on master
  • Tree
  • List 51
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17495033778 master 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 * C... push 05 Sep 2025 01:56PM UTC web-flow github
72.87
17489836599 master Run CI against master branch (#445) * Run CI against master branch * Ensure that discovery_flux has an entry for every zval, even when the fit fails. Fixes a KeyError exposed by 06cc43b5e. * Cosmetic: actually exp... push 05 Sep 2025 10:02AM UTC web-flow github
73.33
16319960612 master in minimizer run_trial_fixed_gamma(), assign fitted ns (and gamma) in else statement when minimizer converges successfully push 16 Jul 2025 01:01PM UTC sathanas31 github
73.52
16318211251 master change condition when band masks creation is needed before submitting trials, see #307. Only necessary for when low_memory_injector is used, change to that instead of mh name push 16 Jul 2025 11:38AM UTC sathanas31 github
73.37
16316525002 master Run trials for fixed gamma (#425) * implement fixed gamma trials. Add "fix_gamma" key in mh_dict and set llh gamma. Change llh_f() args to accommodate for fixing gamma in minimization step, change bounds and seed only for ns and fix the gamma w... push 16 Jul 2025 10:15AM UTC web-flow github
73.44
15276806745 master Improve ResultsHandler (#430) Allow `ResultsHandler` to compute discovery fluxes for arbitrary values of significance (typically, 3 and 5 sigma). In addition, `ResultsHandler` no longer requires a "scale" keyword in the input dictionary (previou... push 27 May 2025 01:48PM UTC web-flow github
74.02
13437160630 master Update lint (#415) * lintify: new black, add isort, pre-commit * Apply to local dir * Add isort * blackify --------- Co-authored-by: JannisNe <necker@physik.hu-berlin.de> push 20 Feb 2025 02:20PM UTC web-flow github
74.08
13386792866 master HTCondorSubmitter changes for WIPAC (#420) * changes in condor submitter: 1. submit file savepath in flarestack_scratch for both DESY & WIPAC hosts 2. add make_dir arg in get_outfile_path() 3. when making submit file, if running on WIPAC set... push 18 Feb 2025 09:09AM UTC web-flow github
74.09
13216591203 master bump version to 2.4.10 push 08 Feb 2025 02:47PM UTC JannisNe github
74.08
13216084554 master Minor bug fixes (#418) * change if statement about static cases from "and" to "or" in add_angular_error_modifier * Bug fix: call load_background_model season method when initializing MockUnblindedInjector to avoid RuntimeError when simulate_ba... push 08 Feb 2025 01:37PM UTC web-flow github
74.01
See All Builds (1519)
  • Repo on GitHub
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

© 2025 Coveralls, Inc