models.ensemble.ensemble.calculate_combinations#
- calculate_combinations(clumpN, test=True, verbose=False)[source]#
This function calculates all of the different combinations of clump masses that may be in a line-of-sight. It is basically the essence of the probabilistic approach used to create the superposition of clumps.
A package that might help drastically reduce the complexity of this code is
awkward. It should allow for easy computation of combinatorics.