ecoscope.analysis.linear_time_density ===================================== .. py:module:: ecoscope.analysis.linear_time_density Module Contents --------------- .. py:function:: 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** :rtype: gpd.GeoDatFrame