coordinate-system 6.0.1__cp313-cp313-win_amd64.whl → 6.0.4__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.
@@ -1,25 +1,31 @@
1
1
  # coordinate_system/__init__.py
2
2
  """
3
- Coordinate System Package
3
+ Coordinate System Library
4
4
  =========================
5
5
 
6
- A comprehensive 3D coordinate system library with differential geometry support.
6
+ High-performance 3D coordinate system and differential geometry library.
7
7
 
8
- Core Components:
8
+ Core Components (C++ Layer):
9
9
  - vec3, vec2: Vector types
10
- - quat: Quaternion for rotations
11
- - coord3: 3D coordinate frame
10
+ - quat: Quaternion for rotations (SU(2))
11
+ - coord3: 3D coordinate frame (Sim(3) group)
12
12
 
13
- Modules:
14
- - differential_geometry: Surface curvature computation
15
- - frames: Complex frame algebra and spectral geometry
13
+ Python Modules:
14
+ - differential_geometry: Surface curvature via intrinsic gradient / Lie bracket
15
+ - spectral_geometry: FourierFrame (GL(1,C)), spectral analysis, heat kernel
16
+ - u3_frame: U3Frame (U(3)), gauge field theory, symmetry breaking
16
17
  - visualization: Coordinate system visualization
17
- - curve_interpolation: Curve and frame interpolation
18
+ - curve_interpolation: C2-continuous curve and frame interpolation
18
19
 
19
- Version: 6.0.1
20
+ Group Correspondence:
21
+ - coord3 ∈ Sim(3) = R³ ⋊ (SO(3) × R⁺)
22
+ - FourierFrame ∈ GL(1,C) = U(1) × R⁺
23
+ - U3Frame ∈ U(3) = SU(3) × U(1)
24
+
25
+ Version: 6.0.4
20
26
  """
21
27
 
22
- __version__ = '6.0.1'
28
+ __version__ = '6.0.4'
23
29
 
24
30
  from .coordinate_system import vec3, vec2
25
31
  from .coordinate_system import quat
@@ -67,11 +73,11 @@ from .differential_geometry import (
67
73
  richardson_extrapolation,
68
74
  )
69
75
 
70
- # Complex frame module (ComplexFrame spectral geometry)
71
- from .frames import (
76
+ # Spectral geometry module (FourierFrame, GL(1,C) group)
77
+ from .spectral_geometry import (
72
78
  # Core classes
73
- ComplexFrame,
74
- ComplexFrameSpectrum,
79
+ FourierFrame,
80
+ FourierFrameSpectrum,
75
81
 
76
82
  # Spectral geometry core
77
83
  IntrinsicGradient,
@@ -92,6 +98,20 @@ from .frames import (
92
98
  GPU_AVAILABLE,
93
99
  )
94
100
 
101
+ # U(3) Frame module (U(3) group, gauge field theory)
102
+ from .u3_frame import (
103
+ # Core U(3) classes
104
+ U3Frame,
105
+ SU3Component,
106
+
107
+ # Gauge field classes
108
+ GaugeConnection,
109
+ FieldStrength,
110
+
111
+ # Symmetry breaking
112
+ SymmetryBreakingPotential,
113
+ )
114
+
95
115
  # Visualization module
96
116
  from .visualization import (
97
117
  CoordinateSystemVisualizer,
@@ -145,13 +165,18 @@ __all__ = [
145
165
  'compare_methods',
146
166
  'derivative_5pt', 'derivative_2nd_5pt', 'richardson_extrapolation',
147
167
 
148
- # Complex frame module
149
- 'ComplexFrame', 'ComplexFrameSpectrum',
168
+ # Spectral geometry module (FourierFrame, GL(1,C))
169
+ 'FourierFrame', 'FourierFrameSpectrum',
150
170
  'IntrinsicGradient', 'CurvatureFromFrame', 'BerryPhase', 'ChernNumber',
151
171
  'SpectralDecomposition', 'HeatKernel', 'FrequencyProjection', 'FrequencyBandState',
152
172
  'spectral_transform', 'inverse_spectral_transform',
153
173
  'HBAR', 'GPU_AVAILABLE',
154
174
 
175
+ # U(3) Frame module (Gauge theory)
176
+ 'U3Frame', 'SU3Component',
177
+ 'GaugeConnection', 'FieldStrength',
178
+ 'SymmetryBreakingPotential',
179
+
155
180
  # Visualization
156
181
  'CoordinateSystemVisualizer', 'CurveVisualizer', 'ParametricCurve',
157
182
  'visualize_coord_system', 'visualize_curve',
@@ -7,8 +7,8 @@ Complex Frame Spectral Analysis - 向后兼容模块
7
7
 
8
8
  请直接使用 frames 模块:
9
9
  from coordinate_system.frames import (
10
- ComplexFrame,
11
- ComplexFrameSpectrum,
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
- ComplexFrame,
34
- ComplexFrameSpectrum,
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 = ComplexFrame
57
- QFrameSpectrum = ComplexFrameSpectrum
58
- QuantumFrameSpectrum = ComplexFrameSpectrum
59
- QuantumFrameTransformer = ComplexFrame # ComplexFrame 现在包含变换方法
60
- Frame = ComplexFrame # 简称别名
61
- FrameSpectrum = ComplexFrameSpectrum # 简称别名
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
- 'ComplexFrame',
116
- 'ComplexFrameSpectrum',
115
+ 'FourierFrame',
116
+ 'FourierFrameSpectrum',
117
117
 
118
118
  # 谱几何核心
119
119
  'IntrinsicGradient',