ecoscope.analysis.UD#
Submodules#
Package Contents#
- ecoscope.analysis.UD.calculate_etd_range(trajectory, raster_profile, output_path=None, max_speed_kmhr=0.0, max_speed_percentage=0.9999, expansion_factor=1.3, weibull_pdf=None, grid_threshold=100)#
The ETDRange class provides a trajectory-based, nonparametric approach to estimate the utilization distribution (UD) of an animal, using model parameters derived directly from the movement behaviour of the species.get_displacement max_speed_percentage : 0.999 raster_profile : raster.RasterProfile expansion_factor : float weibull_pdf : Weibull2Parameter or Weibull3Parameter grid_threshold: int
- Returns:
output_path
- Return type:
str
- Parameters:
trajectory (ecoscope.Trajectory | geopandas.GeoDataFrame)
raster_profile (ecoscope.io.raster.RasterProfile)
output_path (Union[str, bytes, os.PathLike, None])
max_speed_kmhr (float)
max_speed_percentage (float)
expansion_factor (float)
weibull_pdf (Weibull2Parameter | None)
grid_threshold (int)
- ecoscope.analysis.UD.grid_size_from_geographic_extent(gdf, scale_factor=100)#
Intended for use as input to create_meshgrid and RasterProfile. Uses pyproj.geod.inv to determine the distance of the diagonal across the bounds of a gdf, and divides by the scale_factor to determine a ‘sensible’ grid size in meters
- Parameters:
gdf (geopandas.GeoDataFrame)
scale_factor (int)
- Return type:
int