load#
- gala.potential.potential.load(f, module=None)[source]#
Read a potential specification file and return a
PotentialBaseobject instantiated with parameters specified in the spec file.- Parameters
- f
str,file_like A block of text, filename, or file-like object to parse and read a potential from.
- module
namespace(optional)
- f