ecoscope.analysis.UD.etd_range ============================== .. py:module:: ecoscope.analysis.UD.etd_range Module Contents --------------- .. py:data:: logger .. py:function:: __etd__(_, a) .. py:data:: _etd .. py:class:: WeibullPDF .. py:method:: fit(data, floc=0) :staticmethod: .. py:method:: pdf(data, shape, location=0, scale=1) :staticmethod: .. py:method:: cdf(data, shape, location=0, scale=1) :staticmethod: .. py:method:: nelder_mead(func, x0, args=(), **kwargs) :staticmethod: .. py:method:: expected_func(speed, shape, scale, time, distance) :staticmethod: .. py:class:: Weibull2Parameter Bases: :py:obj:`WeibullPDF` .. py:attribute:: shape :type: float :value: 1.0 .. py:attribute:: scale :type: float :value: 1.0 .. py:class:: Weibull3Parameter Bases: :py:obj:`WeibullPDF` .. py:attribute:: shape :type: float :value: 1.0 .. py:attribute:: a :type: float :value: 1.0 .. py:attribute:: b :type: float :value: 1.0 .. py:attribute:: c :type: float :value: 1.0 .. py:function:: 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** :rtype: str .. py:function:: 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