This repository will contain the tools from Alibert and Venturini (A&A, accepted).
We provide 4 Jupyter notebooks, that can be used to predict the critical mass (for normal opacity or reduced one), and the envelope mass (also for two values of the opacity).
The input must be entered in files Mcrits.dat (for the critical mass) and Menve.dat (for the computation of the envelope mass). The format of these files is explained in the notebooks.
The paper is available here: http://arxiv.org/abs/1903.00320, and more details are given here: http://nccr-planets.ch/research/phase2/domain2/project5/machine-learning-and-advanced-statistical-analysis/