def __init__(self, inputDir, outputDir, batchSize):
        self.outputDir = outputDir
        self.batchSize = batchSize
        self.parser = FargoParser(inputDir, batchSize)

        secondaryOrbit = np.loadtxt(inputDir + "/planet0.dat")
        secondaryX = secondaryOrbit[:, 1]
        secondaryY = secondaryOrbit[:, 2]

        self.secondaryRadius = np.sqrt(np.add(np.square(secondaryX), np.square(secondaryY)))
        self.secondaryTheta = np.arctan2(secondaryY, secondaryX)

        params = self.parser.getParams()
        self.params = params
        self.outputDir = outputDir