swiftest.Simulation.read_param#
- Simulation.read_param(param_file=None, codename=None, **kwargs)[source]#
Reads in an input parameter file and stores the values in the param dictionary.
- Parameters:
param_file (str or path-like, default is the value of the Simulation object’s internal param_file.) – File name of the input parameter file
codename ({“Swiftest”, “Swifter”, “Swift”}, default is the value of the Simulation object’s internal codename instance variable) – Type of parameter file, either “Swift”, “Swifter”, or “Swiftest”
- Returns:
None