Code for OLiVE research project