Skip to content

This repository consist of the ROS setup for Odor Tracking experiment

Notifications You must be signed in to change notification settings

arunavanag591/odor_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Odor Analysis

This repository consist of the data analysis done for Odor Tracking experiment.

Preprint: "Odor source location can be predicted from a time-history of odor statistics for a large-scale outdoor plume"

Figures

Data will be available in data dryad to run the results in the paper. Below are interactive notebooks, which can be used using Jupyter Notebook and run using python 3.8 and inskcape to generate the figures and results. These figures were generated using figurefirst

Main Text Figures:

  1. Figure 1 : Desert Setup and data description
  2. Figure 2 : Forest Setup
  3. Figure 3 : Mapping of wind data to distance from source coordinates
  4. Figure 4 : Odor Statistics calculation
  5. Figure 5 : Mean Meta odor statistics vs Distance from source
  6. Figure 6 : Heirarchical clustering - relationship between whiff statistcs
  7. Figure 7 : Integrating whiff statistics with relative motion in a Kalman smoother
  8. Figure 8 : Low pass filtering odor signal degrades correlations between whiff statistics and source distance

Supplemental Figure

  1. Figure S1 : Vertical ambient wind analysis
  2. Figure S2 : Agent search motion analysis
  3. Figure S3 : Normality analysis of the datasets
  4. Figure S4 : Range of wind characteristics across our datasets
  5. Figure S5 : Time spent - vs number of encounters
  6. Figure S6 : Individual whiff statistics without a lookback time
  7. Figure S7 : Mean whiff concentration vs mean whiff standard deviation
  8. Figure S8 : Bootstrapped R-squared and AIC analysis
  9. Figure S9 : AIC filtered coefficiecnts across various wind scenarios
  10. Figure S10 : Kalman smoothed estimates of the distance to the odor source zoomed

Setup Environment

Install Virtualenv : pip install virtualenv

Install Anaconda from here.

  1. Create a Conda Environment:

    conda create -n FlyDataAnalysis python=3.6  
  2. Create the virtualenv:

    virtualenv -p /usr/bin/python3.6 dataEnv  
    
  3. Install Packages:

    pip install pandas
    pip install h5py
    pip install numpy
    pip install matplotlib
    pip install figurefirst
    pip install tables
    conda install --channel conda-forge cartopy  
    
  4. To Install Jupyter Dark Theme (optional - better not to):

    conda install -c conda-forge jupyterthemes 

Bash_Aliases Setup

alias venv="source dataEnv/bin/activate"
alias denv="deactivate"
alias condaenv="conda activate FlyDataAnalysis"
alias dconda="conda deactivate"
alias jread="jupyter notebook"
alias rosenv="source rosenv/bin/activate"
alias start="venv && condaenv"
alias stop="denv && dconda"

About

This repository consist of the ROS setup for Odor Tracking experiment

Resources

Stars

Watchers

Forks

Packages

No packages published