From 71003761553ca9c36fe8eb37a1214cbd7bdb6d0b Mon Sep 17 00:00:00 2001 From: stevenhua0320 Date: Tue, 20 Aug 2024 20:38:27 +0800 Subject: [PATCH] update format type and fix indentation issue --- src/diffpy/srmise/modelcluster.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/diffpy/srmise/modelcluster.py b/src/diffpy/srmise/modelcluster.py index 8ac2ac6..e3208da 100644 --- a/src/diffpy/srmise/modelcluster.py +++ b/src/diffpy/srmise/modelcluster.py @@ -153,9 +153,9 @@ def transform(self, in_format, out_format, **kwds): Parameters ---------- - in_format : Any + in_format : str The current format of parameters - out_format : Any + out_format : str The new format for parameters Keywords @@ -282,7 +282,7 @@ def getuncertainty(self, i): Returns ------- float - The uncertainty of variable at index i. + The uncertainty of variable at index i. """ (l, m) = i if i in self.pmap else self.ipmap[i] return np.sqrt(self.getcovariance(i, i)) @@ -329,7 +329,7 @@ def get(self, i): Returns ------- (float, float) - The value and uncertainty of variable at index i. + The value and uncertainty of variable at index i. """ return (self.getvalue(i), self.getuncertainty(i))