Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Sep 25, 2024
1 parent 8cf7047 commit 3335b86
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 83 deletions.
10 changes: 5 additions & 5 deletions ostap/fitting/fitresult.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
# @author Vanya BELYAEV [email protected]
# @date 2011-06-07
def _fit_repr_ ( self ) :
"""Representaion of TFitResult object
""" Representaion of TFitResult object
>>> fit_result = histo.Fit( func , 'S' , ... )
>>> print fit_result
"""
Expand Down Expand Up @@ -236,7 +236,7 @@ def _fit_iter_ ( r ) :
# name = r.GetParNumber ( 'mass' )
# @endcode
def _fit_parnum_ ( self , par ) :
"""Get parameter number:
""" Get parameter number:
>>> r = h1.Fit( ... )
>>> name = r.GetParNumber ( 'mass' )
"""
Expand All @@ -262,7 +262,7 @@ def _fit_parnum_ ( self , par ) :
# @author Vanya BELYAEV [email protected]
# @date 2015-07-12
def _fit_contains_ ( self , par ) :
"""Check parameter
""" Check parameter
>>> r = h1.Fit(....) ##
>>> if i in r : ... ## check parameter by index
>>> if 'm' in r : ... ## check parameter by name
Expand Down Expand Up @@ -299,7 +299,7 @@ def _fit_getitem_ ( self , par ) :
# print r.cor(1,2)
# @endcode
def _fit_cor_ ( self , i , j ) :
"""Get correlation coefficient for parameters 'i' and 'j'
""" Get correlation coefficient for parameters 'i' and 'j'
>>> r = ...
>>> print r.cor(1,2)
"""
Expand All @@ -324,7 +324,7 @@ def _fit_cor_ ( self , i , j ) :
# print r.corMatrix()
# @endcode
def _fit_corm_ ( self , root = False ) :
"""Get correlation matrix
""" Get correlation matrix
>>> r = ...
>>> print r.corMtrx ()
"""
Expand Down
Loading

0 comments on commit 3335b86

Please sign in to comment.