Skip to content

Commit 7cf50fc

Browse files
authored
Merge pull request #37 from CardiacModelling/get_onboard_QC_values-docstring
Corrected get_onboard_QC_values docstring to include sweeps.
2 parents d1a99b1 + c5b2e40 commit 7cf50fc

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

syncropatch_export/trace.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,16 @@ def get_onboard_QC_values(self, sweeps=None):
274274
"""
275275
Return the quality control values Rseal, Cslow (Cm), and Rseries.
276276
277+
Args:
278+
sweeps (list): A list of sweep indexes to return, e.g.
279+
``[0, 1, 2]``. If left at its default value ``None``, data for all
280+
sweeps will be returned.
281+
277282
Returns:
278-
A dict mapping well names ('A01' up to 'P24') to tuples
279-
``(R_seal, Cm, R_series)`` containing the seal resistance, membrane
280-
capacitance, and series resistance.
283+
A dict mapping well names ('A01' up to 'P24') to lists of tuples
284+
(one tuple per sweep), where each tuple ``(R_seal, Cm, R_series)``
285+
provides the seal resistance, membrane capacitance, and series
286+
resistance.
281287
282288
"""
283289

0 commit comments

Comments
 (0)