Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit c6feb94

Browse files
authored
Notes on ex fn for structuring traj df from data
1 parent 9357d82 commit c6feb94

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

diffusive_distinguishability/ndim_homogeneous_distinguishability.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ def simulate_diffusion_df(n_dim, d_const, n_steps, dt, loc_std=0):
5252

5353
def trajectory_df_from_data(trajectory):
5454
"""If you are using experimental rather than simulated trajectories:
55-
this will intake a timelapse trajectory and generate a dataframe compatible with this notebook for analysis.
55+
this is an example function for how you might import your own timelapse trajectory and put into the required
56+
dataframe format, compatible with this notebook for analysis. This function will likely require edits for
57+
individual use, to make it compatible with your input trajectory format.
5658
5759
:param trajectory: list or array of spatial positions, where each entry is the position at a single timepoint
5860
(may be 1D, 2D or 3D)

0 commit comments

Comments
 (0)