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