PedestrianDynamics / PedPy

Analysis of pedestrian dynamics based on trajectory files.
https://pedpy.readthedocs.io
MIT License
15 stars 9 forks source link

Revisit calculate_data_frame_pair_dist #345

Closed schroedtert closed 3 weeks ago

schroedtert commented 1 month ago

After a short glance at the new feature, I saw the function calculate_data_frame_pair_dist. I have some questions remarks, we should address before the 1.2.0 release. As after the release we are stuck with the name and parameter of the function.

If yes some more things need a refactoring:

Sorry that I only saw it after the PR was merged, my bad.

chraibi commented 1 month ago

calculate_data_frame_pair_dist is private. . We can also rename it as you suggest.

The main function of this module is compute_pair_distibution_function.

schroedtert commented 1 month ago

In Python only functions with a leading _ are private. So renaming will resolve this issue from my side

chraibi commented 3 weeks ago

closed by #350