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

shimming-toolbox / shimming-toolbox / 16944376242
90%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2025 05:21PM UTC
Jobs 5
Files 56
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

13 Aug 2025 05:14PM UTC coverage: 89.83% (+0.7%) from 89.13%
16944376242

push

github

web-flow
Weighted B0 shimming (#581)

* Add two basic soft masks functions

* Fix names of functions and add test function

* Add basic_sct_soft_mask function

* Adapted get_coil_mat_and_unshimmed for accepting softmasks

* Added a test for the creation of a basic softmask

* Add a gaussian softmask conversion function and its tests

* Add a linear softmask conversion function and its tests

* fix: Adjust softmask functions for anisotropic voxels

* Add tests for the softmasks functions

* Add tests for the pseudo-inverse optimizer with a softmask

* Add function to combine cylindric and gaussian masks from sct_create_mask and its test

* Test cli for gaussian_sct_softmask()

* Fix delays in gaussian_filter_softmask and in basic_softmask

* Fix cli integration of gaussian_sct_softmak

* Add cli function create_mask

* Unconclusive tests on softmask-adapted basic optimizer

* Add get_weighted_coil_mat_and_unshimmed() for softmask basic optimisation

* Adapt calculate_metric_within_mask to be compatible with weighted metrics

* Optimise calculate_metric_within_mask with faster operators

* Adapt sequencer for pseudo-inverse softmask optimisation

* Add function to calculate shimming stats improvement

* test for cli execution

* Fix softmask integration with optimizer and sequencer

* Add mean, mse and snr to the stats showed

* Add sequence to config

* Fix sequence added to config in last commit

* Fixes to perform fantom shimming

* Remove snr calculations

* Personalize figure colors for the poster

* Create and adapt function to generate figures for the poster

* Fix wighted pseudo-inverse optimizer

* Remove commits related to poster creation. See ag/poster_project_III (PR #601) for more details

* Adapt least squares optimizer for softmask b0 shimming. Softmask signal recovery still needs to be implemented

* Small fix in plot_full_mask

* revert back in commits and do minimal changes to add sfot mse residuals

* revert back in commits to adapt only resid... (continued)

258 of 277 new or added lines in 11 files covered. (93.14%)

7 existing lines in 2 files now uncovered.

5591 of 6224 relevant lines covered (89.83%)

4.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.32
0.0% shimming-toolbox/shimmingtoolbox/cli/b0shim.py
1
92.0
-0.75% shimming-toolbox/shimmingtoolbox/optimizer/basic_optimizer.py
1
73.53
0.8% shimming-toolbox/shimmingtoolbox/optimizer/optimizer_utils.py
1
92.23
0.15% shimming-toolbox/shimmingtoolbox/optimizer/quadprog_optimizer.py
2
96.49
shimming-toolbox/shimmingtoolbox/masking/softmasks.py
13
88.83
2.61% shimming-toolbox/shimmingtoolbox/shim/sequencer.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.33
1.62% shimming-toolbox/shimmingtoolbox/cli/mask.py
6
88.83
2.61% shimming-toolbox/shimmingtoolbox/shim/sequencer.py
Jobs
ID Job ID Ran Files Coverage
1 macos-15-Python-3.10 - 16944376242.1 13 Aug 2025 05:49PM UTC 56
89.83
GitHub Action Run
2 ubuntu-22.04-Python-3.10 - 16944376242.2 13 Aug 2025 05:49PM UTC 56
89.83
GitHub Action Run
3 ubuntu-24.04-Python-3.10 - 16944376242.3 13 Aug 2025 05:49PM UTC 56
89.83
GitHub Action Run
4 macos-14-Python-3.10 - 16944376242.4 13 Aug 2025 05:49PM UTC 56
89.83
GitHub Action Run
5 macos-13-Python-3.10 - 16944376242.5 13 Aug 2025 05:49PM UTC 56
89.83
GitHub Action Run
Source Files on build 16944376242
  • Tree
  • List 56
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c9460622 on github
  • Prev Build on master (#16815135141)
  • Next Build on master (#16973016300)
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