diff --git a/Python code/calcHREELS20.py b/Python code/calcHREELS20.py index 60fbce005c8ebdf6e359f8b6a613275b6b5ae110..25931f15dba117e9e23518463f4fe65e39de3a83 100755 --- a/Python code/calcHREELS20.py +++ b/Python code/calcHREELS20.py @@ -169,7 +169,7 @@ class lambin: xLoss,loss_array = self.calcSurfaceLoss(x) wmin = min(xLoss) wmax = max(xLoss) - xOut,spectrum,n = LambinBoson.doboson3(self.temperature,self.width,self.gauss,self.asym, + xOut,spectrum,n = LambinBoson.doboson(self.temperature,self.width,self.gauss,self.asym, emin,emax,wmin,wmax,loss_array,self.debug,len(loss_array)) if normalized: norm = max(spectrum[:n]) diff --git a/Python code/myBoson.f90 b/Python code/myBoson.f90 index 71e710790ba14be9231440e7a2b99db0e3bdaa1c..6e50a75087441c5e0a0e23d307a7805996ed26fd 100755 --- a/Python code/myBoson.f90 +++ b/Python code/myBoson.f90 @@ -1,4 +1,4 @@ -subroutine doboson3(t,width,gauss,asym,emin,emax,wmin,wmax,np,p,debug,xout,yout,nout) +subroutine doboson(t,width,gauss,asym,emin,emax,wmin,wmax,np,p,debug,xout,yout,nout) ! ******************************************************************* ! * *