Skip to content
NitzanBarEitanPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Ants

A collection of notebooks and scripts for analyzing ant-driven pendulum experiments, including video processing, coordinate tracking, simulation, and data analysis.

Authors

Partner Nitzan

Repository Structure

Ants/
├── .idea/                           # IDE project settings
├── .gitignore                       # Files to ignore in version control
├── data_analysis.ipynb              # Jupyter notebook for data analysis
├── object_tracking_coordinates.csv  # CSV of extracted pendulum coordinates
├── pendulum_simulation.ipynb        # Jupyter notebook for pendulum simulation
├── pendulum_vid_track_and_graph.ipynb  # Notebook for video tracking & plotting
├── pendulumtracking.py              # Python script for video-based tracking
└── video_processing.ipynb           # Notebook for preprocessing videos

Setup

  1. Clone the repository

    git clone https://github.com/NitzanBarEitan/Ants.git
    cd Ants
  2. Create a Python environment (optional but recommended)

    python3 -m venv env
    source env/bin/activate   # On Windows: env\\Scripts\\activate
  3. Install dependencies

    pip install jupyter numpy pandas matplotlib opencv-python scipy

Usage

Launch Jupyter Notebooks

Start JupyterLab or Notebook:

jupyter lab
# or
jupyter notebook

Open any .ipynb file to explore.

Notebooks Overview

  • dataanalysis.ipynb: Load and analyze extracted coordinates (created with video_processing.py; plots the relevant graphs and performs statistical analysis.
  • video_processing.ipynb: Tracks the ant-driven pendulums and outputs a csv file with the coordinates of each pendulum.
  • pendulum_vid_track_and_graph.ipynb: Tracks the physical system (physically coupled pendulums) and plots the relevant graphs.
  • pendulum_simulation.ipynb: All the simulations used for the project.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages