geost.base.Collection.select_by_elevation#

Collection.select_by_elevation(top_min: float = None, top_max: float = None, end_min: float = None, end_max: float = None) Collection[source]#

Select surveys by elevation constraints: e.g. all surveys with their surface level and end depths between specified minimum and maximum values. See examples below.

Parameters:
  • top_min (float, optional) – Minimum elevation of the borehole/cpt top, by default None.

  • top_max (float, optional) – Maximum elevation of the borehole/cpt top, by default None.

  • end_min (float, optional) – Minimum elevation of the borehole/cpt end, by default None.

  • end_max (float, optional) – Maximum elevation of the borehole/cpt end, by default None.

Returns:

New instance of the current object containing only the selection resulting from application of this method. e.g. if you are calling this method from a Collection, you will get an instance of a Collection back.

Return type:

Collection

Examples

For example, select all surveys with their surface level between 0 and 5 m and end depth between -20 and -10 m.

>>> selection = collection.select_by_elevation(top_min=0, top_max=5, end_min=-20, end_max=-10)