Source code for fudge.gnds.productData.distributions.photonScattering

# <<BEGIN-copyright>>
# <<END-copyright>>

"""
Coherent and incoherent photon scattering forms.
"""

from xData import link as linkModule

from . import base as baseModule

[docs]class baseForm( baseModule.form, linkModule.link ) : def __init__( self, link = None, root = None, path = None, relative = False, label = None ) : linkModule.link.__init__( self, link = link, root = root, path = path, relative = relative, label = label ) baseModule.form.__init__( self, label, None, [] ) @property def productFrame( self ) : return( self.link.productFrame )
[docs] def check( self, info ) : return( [] )
[docs] def calculateAverageProductData( self, style, indent = '', **kwargs ) : return( self.link.calculateAverageProductData( style, indent, **kwargs ) )
[docs] def processMC_cdf( self, style, tempInfo, indent ) : return( self.link.processMC_cdf( style, tempInfo, indent ) )
[docs] def processMultiGroup( self, style, tempInfo, indent ) : return( self.link.processMultiGroup( style, tempInfo, indent ) )
[docs] def toXMLList( self, indent = '', **kwargs ) : return( linkModule.link.toXMLList( self, indent = indent, **kwargs ) )
[docs]class coherentPhotonScattering :
[docs] class form( baseForm ) : moniker = 'coherentPhotonScattering'
[docs]class incoherentPhotonScattering :
[docs] class form( baseForm ) : moniker = 'incoherentPhotonScattering'