geost.enums.UnitEnum.select_units#

classmethod UnitEnum.select_units(units: str | Iterable[str])[source]#

Select units by name.

Parameters:

units (str | Iterable[str]) – Name as string or array_like object of strings with names to select.

Returns:

List of the selected units.

Return type:

List[enum]