def test1(self): 'IsotropicKernel' kernel = ms.isotropickernel( 1., 1. ) ckernel = mh.scattererEngine( kernel ) ev = mcni.neutron( r = (-5,0,0), v = (3000,0,0) ) ckernel.scatter(ev) print ev return
def test1(self): 'IsotropicKernel' kernel = ms.isotropickernel(1., 1.) ckernel = mh.scattererEngine(kernel) ev = mcni.neutron(r=(-5, 0, 0), v=(3000, 0, 0)) ckernel.scatter(ev) print ev return
def createKernel( self, **kwds ): from mccomponents.sample import isotropickernel return isotropickernel()