Instead of separate accelerators, couldn't loopfit simply be another conditional within fit_selected?
So then "fm" would simply have a section for if len(sel) > 2, where the sub-condition to actually do anything is when there is at least one volume. The first of all the volumes, if any, will serve as the reference. Everything else gets loopfit relative to the ref vol.
Perhaps after that we can create an option to specify the ref volume, along with a default to identify BRIX files and set the first one of them as ref vol.
Instead of separate accelerators, couldn't loopfit simply be another conditional within fit_selected?
So then "fm" would simply have a section for if len(sel) > 2, where the sub-condition to actually do anything is when there is at least one volume. The first of all the volumes, if any, will serve as the reference. Everything else gets loopfit relative to the ref vol.
Perhaps after that we can create an option to specify the ref volume, along with a default to identify BRIX files and set the first one of them as ref vol.