Automatic pile module¶
Module to infer the pile of a stratigraphic model from a set of boreholes.
- automatic_pile.get_errors_M(M, boreholes)¶
Function to analyze the pile of the matrix M and returns the errors observed i.e. the contact that are not in agreement with the pile.
- Parameters:
M (np.array of size (n_units, n_units)) – Matrix form of the pile inffered by the
infer_pile()function.
- automatic_pile.infer_pile(l_bhs, n_units=None)¶
Determine all possible stratigraphic piles compatible with a given set of boreholes
- Parameters:
l_bhs (list of lists) – list of the boreholes. Boreholes are simply lists of int values ranging from 0 to n, where n is the number of
- Returns:
list of all possible piles compatible with the boreholes
- Return type:
list of lists