Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



74 Commits

Repository files navigation

This repository is associated to the paper "A curious formulation robot enables the discovery of a novel protocell behavior" by Grizou, J., Points, L. J., Sharma, A. & Cronin, L. (2020) [PDF in Open Access @ Science Advances]. An overview of the scientific approach can be found at

Dropfactory Analysis

Code to analyse the results of experiments performed on the Dropfactory platform


Repository Organization

Folders usage:

  • analysis contains script that analyse various aspects of the experiment, it is where we test and develop our analysis before generating the final analysis script and plots in the figure folder.
  • csv is for generating csv files from the datasets extracted in the datasets folder. It is useful if you want to perfom analysis in spreadsheet or send to colleague in a sharteable form.
  • datasets is where the data collected from our experiments are gathered, sanitized and stored in a user friendly way. To allow you to reproduce the figures without access to the >500Go data (available upon request), the already processed dataset are available in the datasets release.
  • figures contains the exact code used to analayse the data and generate the figures shown in the paper and SI. A bit more information is provided in the next seciton of this README file.
  • properties is a set of scripts used to infer droplet properties (density, viscocities, and surface tension) from a droplet recipy (the ratio of each oil). See ( for more details.
  • utils contains a set of tools useful across our analysis.

Releases usage for large files:

  • The datasets release contains the already extracted datasets enabling you to reproduce all the figures.
  • The SI release contains the paper and all supporting information files explaining the working of the system.
  • The video release contains supplementary videos in mp4 format and gif format for embedding on github. The video are also available on youtube.

Main results

In the following all section and figure number are related to the paper and SI documents in the SI release.

Within the figures folder, you can find:

Associated repositories


This code has been tested under Python 2.7.6 on Ubuntu 14.04 LTS. Despite all our efforts, we cannot guarantee everything will be executable on other OS or Python version.

Aside from the standard libraries, we are using the following libraries. You do not have to install them all, it depends on the task you are performing.

  • numpy: Scientific computing in Python. Version: numpy.version is '1.10.4'

  • scipy: More scientific computing in Python. Version: scipy.version is '0.16.1'

  • sklearn: Machine Learning in Python. Version: sklearn.version is '0.16.1'

  • filetools is a simple file management library

  • matplotlib v2.1.1 and seaborn v0.8.1 for plotting


Jonathan Grizou while working in the CroninGroup.




Code to analyse the results of experiment performed on the Dropfactory platform






No packages published