qrotor 4.0.2__tar.gz → 4.1.1__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.

Potentially problematic release.


This version of qrotor might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qrotor
3
- Version: 4.0.2
3
+ Version: 4.1.1
4
4
  Summary: QRotor
5
5
  Author: Pablo Gila-Herranz
6
6
  Author-email: pgila001@ikasle.ehu.eus
@@ -8,7 +8,8 @@ Package version is defined here. Follows semantic versioning, as in:
8
8
  More about semantic versioning:
9
9
  https://semver.org/
10
10
 
11
+ ---
11
12
  """
12
13
 
13
- __version__ = 'v4.0.2'
14
+ __version__ = "v4.1.1"
14
15
 
@@ -1,7 +1,7 @@
1
1
  """
2
2
  # Description
3
3
 
4
- Common constants and default inertia values used in the QRotor subpackage.
4
+ Common constants and default inertia values used in QRotor.
5
5
 
6
6
  Bond lengths and angles were obtained from MAPbI3, see
7
7
  [K. Drużbicki *et al*., Crystal Growth & Design 24, 391–404 (2024)](https://doi.org/10.1021/acs.cgd.3c01112).
@@ -75,11 +75,15 @@ In meV units.
75
75
 
76
76
  # Quick conversion factors
77
77
  Ry_to_eV = const.physical_constants['Rydberg constant times hc in eV'][0]
78
- """Quick conversion factor from eV to Rydberg energy."""
78
+ """Quick conversion factor from Rydberg to eV energy."""
79
79
  Ry_to_meV = Ry_to_eV * 1000
80
- """Quick conversion factor from meV to Rydberg energy."""
80
+ """Quick conversion factor from Rydberg to meV energy."""
81
81
  eV_to_Ry = 1 / Ry_to_eV
82
- """Quick conversion factor from Rydberg to eV."""
82
+ """Quick conversion factor from eV to Rydberg."""
83
83
  meV_to_Ry = 1 / Ry_to_meV
84
- """Quick conversion factor from Rydberg to meV."""
84
+ """Quick conversion factor from meV to Rydberg."""
85
+ cm1_to_meV = (const.h * const.c * 100 / const.e) * 1000
86
+ """Quick conversion factor from cm$^{-1}$ to meV."""
87
+ meV_to_cm1 = 1/cm1_to_meV
88
+ """Quick conversion factor from meV to cm$^{-1}$."""
85
89
 
@@ -100,7 +100,7 @@ def schrodinger(system:System) -> System:
100
100
  system.version = __version__
101
101
  system.runtime = time.time() - time_start
102
102
  system.eigenvalues = eigenvalues
103
- system.energy_barrier = max(V) - min(eigenvalues)
103
+ system.E_activation = max(V) - min(eigenvalues)
104
104
  # Solve excitations and tunnel splittings, assuming triplet degeneracy
105
105
  system = excitations(system)
106
106
  # Do we really need to save eigenvectors?
@@ -103,6 +103,8 @@ class System:
103
103
  """List of `eigenvalues` grouped by energy levels, found below `potential_max`."""
104
104
  self.deg: float = None
105
105
  """Estimated degeneracy of the `E_levels` found below `potential_max`."""
106
+ self.E_activation: float = None
107
+ """Activation energy or energy barrier, from the ground torsional state to the top of the potential barrier, `max(V) - min(eigenvalues)`"""
106
108
  self.excitations: list = []
107
109
  """Torsional excitations, as the difference between each energy level with respect to the ground state.
108
110
 
@@ -115,8 +117,6 @@ class System:
115
117
  the mean of the eigenvalues from A and the mean of the eigenvalues from E,
116
118
  see [R. M. Dimeo, American Journal of Physics 71, 885–893 (2003)](https://doi.org/10.1119/1.1538575).
117
119
  """
118
- self.energy_barrier: float = None
119
- """Activation energy or energy barrier, from the ground torsional state to the top of the potential barrier, `max(V) - min(eigenvalues)`"""
120
120
  self.runtime: float = None
121
121
  """Time taken to solve the eigenvalues."""
122
122
 
@@ -269,7 +269,7 @@ class System:
269
269
  'deg': self.deg,
270
270
  'excitations': self.excitations,
271
271
  'splittings': self.splittings,
272
- 'energy_barrier': self.energy_barrier,
272
+ 'E_activation': self.E_activation,
273
273
  'runtime': self.runtime,
274
274
  }
275
275
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qrotor
3
- Version: 4.0.2
3
+ Version: 4.1.1
4
4
  Summary: QRotor
5
5
  Author: Pablo Gila-Herranz
6
6
  Author-email: pgila001@ikasle.ehu.eus
@@ -15,7 +15,6 @@ qrotor.egg-info/SOURCES.txt
15
15
  qrotor.egg-info/dependency_links.txt
16
16
  qrotor.egg-info/requires.txt
17
17
  qrotor.egg-info/top_level.txt
18
- tests/__init__.py
19
18
  tests/test_constants.py
20
19
  tests/test_potential.py
21
20
  tests/test_rotate.py
@@ -1,2 +1 @@
1
1
  qrotor
2
- tests
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes