pyforestry.base.taper package¶
Submodules¶
pyforestry.base.taper.taper module¶
- class pyforestry.base.taper.taper.Taper(timber: Timber, taper_subclass_instance: Taper)[source]¶
Bases:
object
General Taper class for subimplementations of different tapers.
- get_diameter_at_height(height_m: float) float [source]¶
Returns diameter under bark (cm) at a given height (m) from stump. This calls your subclass taper.get_diameter_at_height function.
- get_diameter_vectorised(h_array: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str] | ndarray) ndarray [source]¶
Module contents¶
Base taper models used to describe stem profiles.
- class pyforestry.base.taper.Taper(timber: Timber, taper_subclass_instance: Taper)[source]¶
Bases:
object
General Taper class for subimplementations of different tapers.
- get_diameter_at_height(height_m: float) float [source]¶
Returns diameter under bark (cm) at a given height (m) from stump. This calls your subclass taper.get_diameter_at_height function.
- get_diameter_vectorised(h_array: Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str] | ndarray) ndarray [source]¶