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

nz-gravity / sgvb_psd
87%

Build:
DEFAULT BRANCH: main
Repo Added 19 Sep 2024 04:56AM UTC
Files 46
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 main
branch: main
CHANGE BRANCH
x
Reset
  • main

26 Mar 2026 04:56PM UTC coverage: 86.509% (+0.05%) from 86.459%
23607120213

push

github

jianan-joseph-liu
Robust frequency index handling in FFT utilities

Make frequency index handling safer and clearer in analysis and utils modules.

- backend/analysis_data.py: when fmax_for_analysis is None use the full frequency range by setting fmax_idx = len(ftrue_y); only call searchsorted when an explicit fmax is provided.
- utils/utils.py: unify and harden get_freq slicing logic by computing fmin_idx and fmax_idx up front, clipping them to valid bounds, and ensuring fmax_idx >= fmin_idx before slicing. This prevents out-of-range indices and inverted slices when fmin/fmax are None or out of range.

These changes avoid errors from searchsorted on unexpected inputs and make frequency-range extraction more robust.

9 of 11 new or added lines in 2 files covered. (81.82%)

3 existing lines in 2 files now uncovered.

1898 of 2194 relevant lines covered (86.51%)

0.87 hits per line

Relevant lines Covered
Build:
Build:
2194 RELEVANT LINES 1898 COVERED LINES
0.87 HITS PER LINE
Source Files on main
  • Tree
  • List 46
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23607120213 main Robust frequency index handling in FFT utilities Make frequency index handling safer and clearer in analysis and utils modules. - backend/analysis_data.py: when fmax_for_analysis is None use the full frequency range by setting fmax_idx = len(ftr... push 26 Mar 2026 05:01PM UTC jianan-joseph-liu github
86.51
22216227279 main Update analysis_data.py push 20 Feb 2026 08:06AM UTC jianan-joseph-liu github
86.46
22037347470 main Update psd_estimator.py push 15 Feb 2026 02:33PM UTC jianan-joseph-liu github
86.47
17867395363 main Update lisa_example.ipynb push 19 Sep 2025 07:08PM UTC jianan-joseph-liu github
86.47
17864783781 main Update lisa_example.ipynb push 19 Sep 2025 05:05PM UTC jianan-joseph-liu github
86.47
17864481937 main Update lisa_example.ipynb push 19 Sep 2025 04:51PM UTC jianan-joseph-liu github
86.47
17604393206 main fix: change logs push 10 Sep 2025 05:47AM UTC avivajpeyi github
86.47
17603870922 main Merge branch 'main' of github.com:nz-gravity/sgvb_psd into main push 10 Sep 2025 05:16AM UTC avivajpeyi github
86.47
17603650576 main docs: add lisa example push 10 Sep 2025 05:03AM UTC avivajpeyi github
86.47
17603641385 main fix: tf.print error fix push 10 Sep 2025 05:02AM UTC avivajpeyi github
86.47
See All Builds (45)
  • 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

© 2026 Coveralls, Inc