krakentools.ktmethods.flatten_branches¶
- krakentools.ktmethods.flatten_branches(branch_matrix)¶
Creates a branch list from branch matrix by taking all the cross combinations.
- Parameters:
-- (branch_matrix {BranchMatrix}) – Branch matrix that will be flattened.
- Return type:
List
[Dict
[str
,Union
[float
,int
,str
]]]- Returns:
- BranchList –
Resulting list of branches.