This PR allows the user to use different-length center-fractions and accelerations. It also allows mixing between center fractions and accelerations.
Old Code
For example, if the user inputs [0.08, 0.04] for center_fractions and [4, 8] for accelerations, under the previous code, 0.08 would always be selected with 4 and 0.04 would always be selected with 8.
New Code
We have a parameter, sync_center_fractions_accelerations in MaskFunc. If sync_center_fractions_accelerations is False, then now 0.08 can be selected with 8 and 0.04 can be selected with 4.
This PR allows the user to use different-length center-fractions and accelerations. It also allows mixing between center fractions and accelerations.
Old Code For example, if the user inputs
[0.08, 0.04]
forcenter_fractions
and[4, 8]
for accelerations, under the previous code,0.08
would always be selected with4
and0.04
would always be selected with8
.New Code We have a parameter,
sync_center_fractions_accelerations
inMaskFunc
. Ifsync_center_fractions_accelerations
isFalse
, then now0.08
can be selected with8
and0.04
can be selected with4
.