GithubHelp home page GithubHelp logo

pedestriandynamics / singlefilemovementanalysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 2.0 157.92 MB

This repository contain scripts for analyzing single-file movement experiments recorded by a top-view, or side-view camera

License: MIT License

Python 1.19% Jupyter Notebook 98.81%
pedestrian-behavior pedestrian-dynamics pedestrian-analysis single-file-movement

singlefilemovementanalysis's People

Contributors

chraibi avatar dependabot[bot] avatar rudinamsubaih avatar schroedtert avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

singlefilemovementanalysis's Issues

Rename script

Use consistent naming of scripts: 01_extract_steadyState_data.py --> 01_extract_steady_state_data.py

Circle experiments

The transformation of the circular trajectories to straight trajectories for circle experiments should be added

  • Modify 00_transformation_straight.py
  • Test the code using circle experiments
    1

Size of repository

The repository is 81M big.
For a couple of python scripts this definitely too much.

Can you try to remove the old history, that probably contains some data files and keep only the last commit?

Avoid importing everything using *

Like for example in

01_trajectory_data_preperation/01_transformation_straight_traj.py

from numpy import *
from helper import *

and in other scripts as well.

Import only what you need. For example import numpy as np or from helper import transformation_coord

Unnecessary loadtxt in script

This line uses parameters that are not passed to the function as arguments.
Moreover, it seems that the data are read in the main loop, so this additional reading here is probably not correct.

Type hints

Add type hints everywhere to increase the readability of the scripts.
Use mypy.

For orientation, you can use this mypy-file and modify it accordingly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.