save# gala.potential.potential.save(potential, f)[source]# Write a PotentialBase object out to a text (YAML) file. Parameters: potentialPotentialBaseThe instantiated PotentialBase object. fstr, file_likeA filename or file-like object to write the input potential object to.