This repository consist of the data analysis done for Odor Tracking experiment.
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
- Figure 1 : Desert Setup and data description
- Figure 2 : Forest Setup
- Figure 3 : Mapping of wind data to distance from source coordinates
- Figure 4 : Odor Statistics calculation
- Figure 5 : Mean Meta odor statistics vs Distance from source
- Figure 6 : Heirarchical clustering - relationship between whiff statistcs
- Figure 7 : Integrating whiff statistics with relative motion in a Kalman smoother
- Figure 8 : Low pass filtering odor signal degrades correlations between whiff statistics and source distance
- Figure S1 : Vertical ambient wind analysis
- Figure S2 : Agent search motion analysis
- Figure S3 : Normality analysis of the datasets
- Figure S4 : Range of wind characteristics across our datasets
- Figure S5 : Time spent - vs number of encounters
- Figure S6 : Individual whiff statistics without a lookback time
- Figure S7 : Mean whiff concentration vs mean whiff standard deviation
- Figure S8 : Bootstrapped R-squared and AIC analysis
- Figure S9 : AIC filtered coefficiecnts across various wind scenarios
- Figure S10 : Kalman smoothed estimates of the distance to the odor source zoomed
Install Virtualenv : pip install virtualenv
Install Anaconda from here.
-
Create a Conda Environment:
conda create -n FlyDataAnalysis python=3.6
-
Create the virtualenv:
virtualenv -p /usr/bin/python3.6 dataEnv
-
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
-
To Install Jupyter Dark Theme (optional - better not to):
conda install -c conda-forge jupyterthemes
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"