Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Nov 27, 2024
1 parent 5b46474 commit 87bf2f2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions ostap/fitting/fit3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# @endcode
# @author Vanya BELYAEV [email protected]
class Flat3D(PDF3) :
"""The most trival 3D-model - constant
""" The most trival 3D-model - constant
>>> pdf = Flat3D( 'flat' , xvar = ... , yvar = ... , zvar = ... )
"""
def __init__ ( self , xvar , yvar , zvar , name = '' , title = '' ) :
Expand Down Expand Up @@ -563,7 +563,7 @@ def __getattr__ ( self , attr ) :
# @author Vanya BELYAEV [email protected]
# @date 2017-07-25
class Fit3D (PDF3) :
"""The actual model for 3D-fits
""" The compound model for 3D-fits
>>> model = Models.Fit3D (
... signal_x = Models.Gauss_pdf ( 'Gx' , mass = m_x ) ,
Expand Down Expand Up @@ -1065,7 +1065,7 @@ def __init__ ( self ,

@property
def SSS ( self ) :
"""The yield of Signal(x)*Signal(y)*Signal(z) component"""
"""The yield of Signal(x,y,z) component"""
return self.__sss
@SSS.setter
def SSS ( self , value ) :
Expand Down Expand Up @@ -1766,7 +1766,7 @@ def __init__ ( self ,

@property
def SSS ( self ) :
"""The yield of Signal(x)*Signal(y)*Signal(z) component"""
""" The yield of Signal(x,y,z) component"""
return self.__sss
@SSS.setter
def SSS ( self , value ) :
Expand All @@ -1776,7 +1776,7 @@ def SSS ( self , value ) :

@property
def SSB ( self ) :
"""The yield of S(x)*S(y)*B(z)+S(x)*B(y)*S(z)+B(x)*S(y)*S(z) component (same as SBS, BSS)"""
""" The yield of S(x)*S(y)*B(z)+S(x)*B(y)*S(z)+B(x)*S(y)*S(z) component (same as SBS, BSS)"""
return self.__ssb
@SSB.setter
def SSB ( self , value ) :
Expand All @@ -1786,7 +1786,7 @@ def SSB ( self , value ) :

@property
def SBS ( self ) :
"""The yield of S(x)*S(y)*B(z)+S(x)*B(y)*S(z)+B(x)*S(y)*S(z) component (same as SSB, BSS)"""
""" The yield of S(x)*S(y)*B(z)+S(x)*B(y)*S(z)+B(x)*S(y)*S(z) component (same as SSB, BSS)"""
return self.__sbs
@SBS.setter
def SBS ( self , value ) :
Expand All @@ -1796,7 +1796,7 @@ def SBS ( self , value ) :

@property
def BSS ( self ) :
"""The yield of S(x)*S(y)*B(z)+S(x)*B(y)*S(z)+B(x)*S(y)*S(z) component (same as SSB, SBS)"""
""" The yield of S(x)*S(y)*B(z)+S(x)*B(y)*S(z)+B(x)*S(y)*S(z) component (same as SSB, SBS)"""
return self.__bss
@BSS.setter
def BSS ( self , value ) :
Expand All @@ -1806,7 +1806,7 @@ def BSS ( self , value ) :

@property
def SBB ( self ) :
"""The yield of S(x)*B(y,z)+S(y)*B(x,z)+S(z)*B(y,z) component (same as BSB, BBS)"""
""" The yield of S(x)*B(y,z)+S(y)*B(x,z)+S(z)*B(y,z) component (same as BSB, BBS)"""
return self.__sbb
@SBB.setter
def SBB ( self , value ) :
Expand All @@ -1816,7 +1816,7 @@ def SBB ( self , value ) :

@property
def BSB ( self ) :
"""The yield of S(x)*B(y,z)+S(y)*B(x,z)+S(z)*B(y,z) component (same as SBB, BBS)"""
""" The yield of S(x)*B(y,z)+S(y)*B(x,z)+S(z)*B(y,z) component (same as SBB, BBS)"""
return self.__bsb
@BSB.setter
def BSB ( self , value ) :
Expand All @@ -1826,7 +1826,7 @@ def BSB ( self , value ) :

@property
def BBS ( self ) :
"""The yield of S(x)*B(y,z)+S(y)*B(x,z)+S(z)*B(y,z) component (same as SBB, BSB )"""
""" The yield of S(x)*B(y,z)+S(y)*B(x,z)+S(z)*B(y,z) component (same as SBB, BSB )"""
return self.__bbs
@BBS.setter
def BBS ( self , value ) :
Expand All @@ -1836,7 +1836,7 @@ def BBS ( self , value ) :

@property
def BBB ( self ) :
"""The yield of Background(x,y,z) component"""
""" The yield of Background(x,y,z) component"""
return self.__bbb
@BBB.setter
def BBB ( self , value ) :
Expand All @@ -1846,7 +1846,7 @@ def BBB ( self , value ) :

@property
def C ( self ) :
"""Get the yields of 'other' component(s)
""" Get the yields of 'other' component(s)
For single 'other' component:
>>> print pdf.C ## read the single 'other' component
>>> pdf.C = 100 ## assign to it
Expand Down

0 comments on commit 87bf2f2

Please sign in to comment.