Pruning is handled by software/gmix_deflate.m. This program keeps bumping off the weakest mode and re-normalizing so that . The calling syntax for software/gmix_deflate.m is
gparm = gmix_deflate(gparm,min_weight_1,min_weight_all)It is important that very weak modes be obliterated immediately, but it is important not to massacre lots of moderately weak modes all at once. So, there are two input thresholds. Only one mode per call to software/gmix_deflate.m can be bumped off if it falls below min_weight_1. But a mode is always bumped off if it falls below min_weight_all.