Related to OpenwaterHealth/SlicerOpenLIFU#526
The virtual fit algorithm searches through candidate transucer poses and generates a long list of transducer transform candidates, sorted from best to worst.
SlicerOpenLIFU was truncating this list to display the top 10 results. Instead, here we add a virtual fit option top_n_candidates that controls the number of virtual fit results returned by run_virtual_fit. The default value is 4.
Related to OpenwaterHealth/SlicerOpenLIFU#526
The virtual fit algorithm searches through candidate transucer poses and generates a long list of transducer transform candidates, sorted from best to worst.
SlicerOpenLIFU was truncating this list to display the top 10 results. Instead, here we add a virtual fit option
top_n_candidatesthat controls the number of virtual fit results returned byrun_virtual_fit. The default value is 4.