Skip to main content

Module bg_removal

Module bg_removal 

Source
Expand description

Background field removal stage

Dispatcher that calls the appropriate background removal algorithm based on configuration, including algorithm-specific parameter defaults (V-SHARP radii computation, LBV max_iter, iSMV radius).

Functions§

run_bfrnet 🔒
Source the BFRnet weights and run inference. Requires the onnx feature; weights come from the model registry (local $QSM_MODEL_DIR/cache, or the download feature).
run_bg_removal
Run background field removal on a total field map.