saves the config parameters to a json file

def save_yaml(self, outFile):
        """saves the config parameters to a json file"""
        with open(outFile,'w') as myfile:
            print(yaml.dump(self.params), file=myfile)