pygeoinf 1.1.3__py3-none-any.whl → 1.1.4__py3-none-any.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.
@@ -425,6 +425,18 @@ class Lebesgue(SphereHelper, HilbertModule, AbstractInvariantLebesgueSpace):
425
425
  """
426
426
  return x1 * x2
427
427
 
428
+ def __eq__(self, other: object) -> bool:
429
+ """
430
+ Checks for mathematical equality with another Sobolev space on a sphere.
431
+
432
+ Two spaces are considered equal if they are of the same type and have
433
+ the same defining parameters (kmax, order, scale, and radius).
434
+ """
435
+ if not isinstance(other, Lebesgue):
436
+ return NotImplemented
437
+
438
+ return self.lmax == other.lmax and self.radius == other.radius
439
+
428
440
  def eigenfunction_norms(self) -> np.ndarray:
429
441
  """Returns a list of the norms of the eigenfunctions."""
430
442
  return np.fromiter(
@@ -445,10 +457,6 @@ class Lebesgue(SphereHelper, HilbertModule, AbstractInvariantLebesgueSpace):
445
457
 
446
458
  return LinearOperator.self_adjoint(self, mapping)
447
459
 
448
- # ================================================================ #
449
- # Private methods #
450
- # ================================================================ #
451
-
452
460
 
453
461
  class Sobolev(SphereHelper, MassWeightedHilbertModule, AbstractInvariantSobolevSpace):
454
462
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pygeoinf
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: A package for solving geophysical inference and inverse problems
5
5
  License: BSD-3-Clause
6
6
  Author: David Al-Attar and Dan Heathcote
@@ -12,9 +12,9 @@ pygeoinf/operators.py,sha256=kbDfHpaWaSnd0zvoAVMBpWWiQRNfW0ImVhtzEEIH6mM,33165
12
12
  pygeoinf/random_matrix.py,sha256=_XVwXqM_c0SMpy6JU-8IboXpotug6dDDHKdSPAJpH7c,7788
13
13
  pygeoinf/symmetric_space/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  pygeoinf/symmetric_space/circle.py,sha256=0EHPg2FcvWTOvCb8ualCW0uUp8RuUNfQ7oK6NHXtG1Q,17552
15
- pygeoinf/symmetric_space/sphere.py,sha256=vKwvTa-9GMNlN-LBUWaEsZ8vM-dZtQtT71UPDSXZufY,20309
15
+ pygeoinf/symmetric_space/sphere.py,sha256=hg9eAXdwbU9l_QssEcq86FOAQc6mBf416OKVjgsU2Ic,20540
16
16
  pygeoinf/symmetric_space/symmetric_space.py,sha256=YkRjHucc2cO7IAoyJS5KMdiRBuytRpUfTUsVMHBPZYs,16146
17
- pygeoinf-1.1.3.dist-info/LICENSE,sha256=GrTQnKJemVi69FSbHprq60KN0OJGsOSR-joQoTq-oD8,1501
18
- pygeoinf-1.1.3.dist-info/METADATA,sha256=u-w7wd3J5xuk62cB7behLuxOwGunar-CUWoBz4edecU,15324
19
- pygeoinf-1.1.3.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
20
- pygeoinf-1.1.3.dist-info/RECORD,,
17
+ pygeoinf-1.1.4.dist-info/LICENSE,sha256=GrTQnKJemVi69FSbHprq60KN0OJGsOSR-joQoTq-oD8,1501
18
+ pygeoinf-1.1.4.dist-info/METADATA,sha256=jFoUW2ZH9MrnRw-ZDJvwMJXL0R3yH5KdnLt2chnThUI,15324
19
+ pygeoinf-1.1.4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
20
+ pygeoinf-1.1.4.dist-info/RECORD,,