map2loop.thickness_calculator#

Functions

abstractmethod(funcobj)

A decorator indicating abstract methods.

calculate_endpoints(start_point, ...)

Calculate the endpoints of a line segment given a start point, azimuth angle, distance, and bounding box.

create_points(xy)

Creates a list of shapely Point objects from a list, tuple, or numpy array of coordinates.

find_segment_strike_from_pt(line, point, ...)

Finds the strike of a line segment (contact) closest to a given point (structural measurement).

mean(data)

Return the sample arithmetic mean of data.

multiline_to_line(geometry)

Converts a multiline geometry to a single line geometry.

rebuild_sampled_basal_contacts(...)

Rebuilds the basal contacts as linestrings --> sampled_basal_contacts, based on the existing sampled contact points.

Classes

ABC()

Helper class that provides a standard way to create an ABC using inheritance.

Datatype(value[, names, module, qualname, ...])

DipDipDirectionInterpolator([data_type])

InterpolatedStructure()

This class is a subclass of the ThicknessCalculator abstract base class.

MapData([tmp_path, verbose_level])

A data structure containing all the map data loaded from map files

StructuralPoint()

This class is a subclass of the ThicknessCalculator abstract base class.

ThicknessCalculator()

Base Class of Thickness Calculator used to force structure of ThicknessCalculator

ThicknessCalculatorAlpha()

ThicknessCalculator class which estimates unit thickness based on units, basal_contacts and stratigraphic order