pyctramer 0.1.97__tar.gz → 0.1.99__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyctramer
3
- Version: 0.1.97
3
+ Version: 0.1.99
4
4
  Summary: Python package for Charge Transfer Rate from Atomistic Molecular dynamics, Electronic structure, and Rate theory
5
5
  Home-page: https://www.github.com/ctramer/PyCTRAMER
6
6
  Author: Zengkui Liu, Dominikus Brian, and Xiang Sun
@@ -81,8 +81,8 @@ def ApproxRates(Ct,omega,req,beta,t,hw_DA,Gamma_DA):
81
81
  Cqm0 = Ct(omega,req,beta,t,0,Gamma_DA)
82
82
  dt_tcf_sbm = t[1] - t[0]
83
83
  # rateQM = (np.sum(CqmDA) - CqmDA[0]/2. - CqmDA[-1]/2. ) * dt_tcf_sbm
84
- rateQM_approach1 = (np.sum(CqmDA) - 0*CqmDA[0] - 0*CqmDA[-1] ) * dt_tcf_sbm # * 2
85
- rateQM_approach2 = np.fft.ifft(CqmDA)[0] * dt_tcf_sbm * 2.
84
+ rateQM_approach1 = (np.sum(CqmDA) - 0*CqmDA[0] - 0*CqmDA[-1] ) # * 2
85
+ rateQM_approach2 = np.fft.ifft(CqmDA)[0] * len(t) # * 2.
86
86
  return np.array([rateQM_approach1.real,rateQM_approach2.real])
87
87
 
88
88
  #############################################################
@@ -137,6 +137,7 @@ def MarcusLevichRate(omega,Req,beta,t,omega_DA,Gamma_DA):
137
137
 
138
138
  Er = 0.5 * np.sum(omega**2*Req**2)
139
139
  DeltaE = - hbar * omega_DA
140
+ print(Er, DeltaE, Gamma_DA)
140
141
  return Gamma_DA**2 * pref * np.exp( - (Er+DeltaE)**2/4. / a )
141
142
  #for ind, w in enumerate(omega):
142
143
  # wt = w * t
@@ -150,6 +151,7 @@ def MarcusRate(omega,Req,beta,t,omega_DA,Gamma_DA):
150
151
  hbar = 1.
151
152
  Er = np.sum(omega**2*Req**2*0.5)
152
153
  U = Er - omega_DA * hbar
154
+ print(Er,Gamma_DA, U)
153
155
  return Gamma_DA ** 2 * np.sqrt(np.pi*beta / Er) * np.exp( - U**2 * beta * 0.25 / Er)
154
156
 
155
157
  def Ct_CAV(omega,Req,beta,t,omega_DA,Gamma_DA):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyctramer
3
- Version: 0.1.97
3
+ Version: 0.1.99
4
4
  Summary: Python package for Charge Transfer Rate from Atomistic Molecular dynamics, Electronic structure, and Rate theory
5
5
  Home-page: https://www.github.com/ctramer/PyCTRAMER
6
6
  Author: Zengkui Liu, Dominikus Brian, and Xiang Sun
@@ -4,7 +4,7 @@ setuptools.setup(
4
4
 
5
5
  name="pyctramer", # The file name of the package after packaging
6
6
 
7
- version="0.1.97", # version number
7
+ version="0.1.99", # version number
8
8
 
9
9
  author="Zengkui Liu, Dominikus Brian, and Xiang Sun", # author name
10
10
 
File without changes