The code to create synthetics for planethunters