Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 3392 improve documentation #3474

1 change: 1 addition & 0 deletions pybamm/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ def input_parameters(self):
return self._input_parameters

def print_parameter_info(self):
"""Returns parameters used in the model"""
self._parameter_info = ""
parameters = self._find_symbols(pybamm.Parameter)
for param in parameters:
Expand Down
10 changes: 5 additions & 5 deletions pybamm/step/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def current(value, **kwargs):
Parameters
----------
value : float
The current value in A.
The current value in A. It can be a number or a 2-column array (for drive cycles).
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -141,7 +141,7 @@ def c_rate(value, **kwargs):
Parameters
----------
value : float
The C-rate value.
The C-rate value. It can be a number or a 2-column array (for drive cycles).
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -162,7 +162,7 @@ def voltage(value, **kwargs):
Parameters
----------
value : float
The voltage value in V.
The voltage value in V. It can be a number or a 2-column array (for drive cycles).
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -183,7 +183,7 @@ def power(value, **kwargs):
Parameters
----------
value : float
The power value in W.
The power value in W. It can be a number or a 2-column array (for drive cycles).
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand All @@ -204,7 +204,7 @@ def resistance(value, **kwargs):
Parameters
----------
value : float
The resistance value in Ohm.
The resistance value in Ohm. It can be a number or a 2-column array (for drive cycles).
**kwargs
Any other keyword arguments are passed to the :class:`pybamm.step._Step`
class.
Expand Down
Loading