Function createFormationIntervals

  • Create groups of entry and exit picks for each stratigraphy unit level:

    • Sort the matched picks by ascending level and ascending depth
    • Traverse the matched picks, keeping a reference of the current level and unit to find the correct entry and exit pick
    • Remove picks from list as formations are identified

    Parameters

    • unitPicks: UnitPick[]
    • maxDepth: number = Infinity

    Returns FormationInterval[]