def GenerateConfigurationsRMAX(N): parameter_sets = [] a = parameter_sets.append compressionFactors = np.random.permutation(myutils.random_stratified(0.5, 1.0, N)) for cf in compressionFactors: c = deepcopy(circumferentialgrowth7) c['vessels']['radMax'] = 14. * cf a(c) return parameter_sets
def GenerateConfigurationsCompression2(N): parameter_sets = [] a = parameter_sets.append compressionFactors = np.random.permutation(myutils.random_stratified(0.5, 1.0, N)) for cf in compressionFactors: c = deepcopy(circumferentialgrowth7) c['vessels']['vesselCompressionFactor'] = cf c['vessels']['radMax'] = 14. c['tissuePressureDistribution'] = 'sphere' c['tissuePressureWidth'] = 400. a(c) return parameter_sets