coordinate-system 6.0.1__cp313-cp313-win_amd64.whl → 6.0.3__cp313-cp313-win_amd64.whl
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.
- coordinate_system/__init__.py +31 -8
- coordinate_system/coordinate_system.cp313-win_amd64.pyd +0 -0
- coordinate_system/fourier_spectral.py +12 -12
- coordinate_system/frames.py +142 -111
- coordinate_system/u3_frame.py +885 -0
- {coordinate_system-6.0.1.dist-info → coordinate_system-6.0.3.dist-info}/METADATA +327 -47
- coordinate_system-6.0.3.dist-info/RECORD +13 -0
- coordinate_system/curvature.py +0 -321
- coordinate_system/qframes.py +0 -792
- coordinate_system/test_quantum_upgrade.py +0 -383
- coordinate_system-6.0.1.dist-info/RECORD +0 -15
- {coordinate_system-6.0.1.dist-info → coordinate_system-6.0.3.dist-info}/LICENSE +0 -0
- {coordinate_system-6.0.1.dist-info → coordinate_system-6.0.3.dist-info}/WHEEL +0 -0
- {coordinate_system-6.0.1.dist-info → coordinate_system-6.0.3.dist-info}/top_level.txt +0 -0
coordinate_system/__init__.py
CHANGED
|
@@ -12,14 +12,14 @@ Core Components:
|
|
|
12
12
|
|
|
13
13
|
Modules:
|
|
14
14
|
- differential_geometry: Surface curvature computation
|
|
15
|
-
- frames:
|
|
15
|
+
- frames: Fourier frame algebra and spectral geometry
|
|
16
16
|
- visualization: Coordinate system visualization
|
|
17
17
|
- curve_interpolation: Curve and frame interpolation
|
|
18
18
|
|
|
19
|
-
Version: 6.0.
|
|
19
|
+
Version: 6.0.3
|
|
20
20
|
"""
|
|
21
21
|
|
|
22
|
-
__version__ = '6.0.
|
|
22
|
+
__version__ = '6.0.3'
|
|
23
23
|
|
|
24
24
|
from .coordinate_system import vec3, vec2
|
|
25
25
|
from .coordinate_system import quat
|
|
@@ -67,11 +67,11 @@ from .differential_geometry import (
|
|
|
67
67
|
richardson_extrapolation,
|
|
68
68
|
)
|
|
69
69
|
|
|
70
|
-
#
|
|
70
|
+
# Fourier frame module (FourierFrame spectral geometry)
|
|
71
71
|
from .frames import (
|
|
72
72
|
# Core classes
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
FourierFrame,
|
|
74
|
+
FourierFrameSpectrum,
|
|
75
75
|
|
|
76
76
|
# Spectral geometry core
|
|
77
77
|
IntrinsicGradient,
|
|
@@ -92,6 +92,23 @@ from .frames import (
|
|
|
92
92
|
GPU_AVAILABLE,
|
|
93
93
|
)
|
|
94
94
|
|
|
95
|
+
# U(3) Frame module (Unified gauge theory framework)
|
|
96
|
+
from .u3_frame import (
|
|
97
|
+
# Core U(3) classes
|
|
98
|
+
U3Frame,
|
|
99
|
+
SU3Component,
|
|
100
|
+
|
|
101
|
+
# Gauge field classes
|
|
102
|
+
GaugeConnection,
|
|
103
|
+
FieldStrength,
|
|
104
|
+
|
|
105
|
+
# Symmetry breaking
|
|
106
|
+
SymmetryBreakingPotential,
|
|
107
|
+
|
|
108
|
+
# Constants
|
|
109
|
+
C_SPEED,
|
|
110
|
+
)
|
|
111
|
+
|
|
95
112
|
# Visualization module
|
|
96
113
|
from .visualization import (
|
|
97
114
|
CoordinateSystemVisualizer,
|
|
@@ -145,13 +162,19 @@ __all__ = [
|
|
|
145
162
|
'compare_methods',
|
|
146
163
|
'derivative_5pt', 'derivative_2nd_5pt', 'richardson_extrapolation',
|
|
147
164
|
|
|
148
|
-
#
|
|
149
|
-
'
|
|
165
|
+
# Fourier frame module
|
|
166
|
+
'FourierFrame', 'FourierFrameSpectrum',
|
|
150
167
|
'IntrinsicGradient', 'CurvatureFromFrame', 'BerryPhase', 'ChernNumber',
|
|
151
168
|
'SpectralDecomposition', 'HeatKernel', 'FrequencyProjection', 'FrequencyBandState',
|
|
152
169
|
'spectral_transform', 'inverse_spectral_transform',
|
|
153
170
|
'HBAR', 'GPU_AVAILABLE',
|
|
154
171
|
|
|
172
|
+
# U(3) Frame module (Gauge theory)
|
|
173
|
+
'U3Frame', 'SU3Component',
|
|
174
|
+
'GaugeConnection', 'FieldStrength',
|
|
175
|
+
'SymmetryBreakingPotential',
|
|
176
|
+
'C_SPEED',
|
|
177
|
+
|
|
155
178
|
# Visualization
|
|
156
179
|
'CoordinateSystemVisualizer', 'CurveVisualizer', 'ParametricCurve',
|
|
157
180
|
'visualize_coord_system', 'visualize_curve',
|
|
Binary file
|
|
@@ -7,8 +7,8 @@ Complex Frame Spectral Analysis - 向后兼容模块
|
|
|
7
7
|
|
|
8
8
|
请直接使用 frames 模块:
|
|
9
9
|
from coordinate_system.frames import (
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
FourierFrame,
|
|
11
|
+
FourierFrameSpectrum,
|
|
12
12
|
spectral_transform,
|
|
13
13
|
inverse_spectral_transform,
|
|
14
14
|
)
|
|
@@ -30,8 +30,8 @@ warnings.warn(
|
|
|
30
30
|
# 从 frames 重导出所有内容
|
|
31
31
|
from .frames import (
|
|
32
32
|
# 核心类
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
FourierFrame,
|
|
34
|
+
FourierFrameSpectrum,
|
|
35
35
|
|
|
36
36
|
# 谱几何核心
|
|
37
37
|
IntrinsicGradient,
|
|
@@ -53,12 +53,12 @@ from .frames import (
|
|
|
53
53
|
)
|
|
54
54
|
|
|
55
55
|
# 向后兼容别名(旧名称映射到新名称)
|
|
56
|
-
QFrame =
|
|
57
|
-
QFrameSpectrum =
|
|
58
|
-
QuantumFrameSpectrum =
|
|
59
|
-
QuantumFrameTransformer =
|
|
60
|
-
Frame =
|
|
61
|
-
FrameSpectrum =
|
|
56
|
+
QFrame = FourierFrame
|
|
57
|
+
QFrameSpectrum = FourierFrameSpectrum
|
|
58
|
+
QuantumFrameSpectrum = FourierFrameSpectrum
|
|
59
|
+
QuantumFrameTransformer = FourierFrame # FourierFrame 现在包含变换方法
|
|
60
|
+
Frame = FourierFrame # 简称别名
|
|
61
|
+
FrameSpectrum = FourierFrameSpectrum # 简称别名
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
def quantum_frame_transform(coord_field, grid_size=None, use_gpu=False, hbar=HBAR):
|
|
@@ -112,8 +112,8 @@ def compute_radial_spectrum(spectrum):
|
|
|
112
112
|
# 导出列表
|
|
113
113
|
__all__ = [
|
|
114
114
|
# 核心类(新名称)
|
|
115
|
-
'
|
|
116
|
-
'
|
|
115
|
+
'FourierFrame',
|
|
116
|
+
'FourierFrameSpectrum',
|
|
117
117
|
|
|
118
118
|
# 谱几何核心
|
|
119
119
|
'IntrinsicGradient',
|