遇见数据集

Desert v. Vinegar Flies: Eye Allometry

收藏
NIAID Data Ecosystem2026-03-12 收录
官方服务:

资源简介:

Instructions needed to generate the statistics and figures used in Eye Allometry results: Make sure Python 3.6+ and the following Python packages are installed (try pip): -matplotlib -numpy -pandas -pickle -scikit-image -scipy -seaborn -statsmodels-eye_tools (from https://github.com/jpcurrea/eye_tools.git) A. Plot figures and calculate important statistics: In the terminal, cd to the downloaded folder and run the following: ~! python3 plot.py Running this script produces the following image files: -eye_composition.png -eye_composition.svg -eye_shape.png -eye_shape.svg -fields_of_view.png -fields_of_view.svg -optical_performance.png -optical_performance.svg We've also already saved the following files: -stats.txt: allometric statistics collated by measurement -stats.csv: allometric statistics used for table B. To generate the allometric data from scratch: 1. unzip image_stacks.zip, creating a folder of the same name 2. run the following: ~! python3 analysis.py Running this script produces the following: -allometry_data.csv: readable measurements dataframe -allometry_data.pkl: pickled measurements dataframe 3. to plot the data, running process A. above. C. To generate Supplemental Figure 2, cd to the downloaded folder and run the following: ~! python3 plot_demo.py

创建时间:
2021-08-13
二维码
社区交流群
二维码
科研交流群
商业服务