ecoscope.analysis.linear_time_density#

Module Contents#

ecoscope.analysis.linear_time_density.calculate_ltd(traj, grid, output_column_name='grid_index')#

Computes a density value for cells in the provided grid based on the total time of the trajectory segments in each cell

Args: traj (ecoscope.Trajectory): The movement data. grid (gpd.GeoDataFrame): The meshgrid to compute density values for

Returns:

grid

Return type:

gpd.GeoDatFrame

Parameters:
  • traj (ecoscope.Trajectory)

  • grid (geopandas.GeoDataFrame)

  • output_column_name (str)