pygeodesy 24.4.18__py2.py3-none-any.whl → 24.5.2__py2.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.
pygeodesy/interns.py CHANGED
@@ -247,7 +247,6 @@ _HASH_ = '#' # PYCHOK OK
247
247
  _height_ = 'height' # PYCHOK OK
248
248
  _hemipole_ = 'hemipole' # PYCHOK OK
249
249
  _i_ = 'i' # PYCHOK OK
250
- _iadd_op_ = '+=' # PYCHOK OK
251
250
  _immutable_ = 'immutable' # PYCHOK OK
252
251
  _in_ = 'in' # PYCHOK OK
253
252
  _incompatible_ = 'incompatible' # PYCHOK OK
pygeodesy/lazily.py CHANGED
@@ -260,7 +260,7 @@ _ALL_LAZY = _NamedEnum_RO(_name='_ALL_LAZY',
260
260
  'bqrt', 'cbrt', 'cbrt2', 'euclid', 'euclid_',
261
261
  'facos1', 'fasin1', 'fatan', 'fatan1', 'fatan2', 'favg',
262
262
  'fdot', 'fdot3', 'fmean', 'fmean_', 'fhorner', 'fidw', 'fpolynomial',
263
- 'fpowers', 'fprod', 'frange', 'freduce', 'fremainder',
263
+ 'fpowers', 'fprod', 'frandoms', 'frange', 'freduce', 'fremainder',
264
264
  'hypot', 'hypot_', 'hypot1', 'hypot2', 'hypot2_',
265
265
  'norm2', 'norm_', 'sqrt0', 'sqrt3', 'sqrt_a', 'zcrt', 'zqrt'),
266
266
  formy=_i('Radical2Tuple',
@@ -504,7 +504,7 @@ class _ALL_MODS(object):
504
504
  _ALL_MODS = _ALL_MODS() # PYCHOK singleton
505
505
 
506
506
  __all__ = _ALL_LAZY.lazily
507
- __version__ = '24.04.17'
507
+ __version__ = '24.04.22'
508
508
 
509
509
 
510
510
  def _ALL_OTHER(*objs):
pygeodesy/streprs.py CHANGED
@@ -21,12 +21,13 @@ from pygeodesy.lazily import _ALL_LAZY, _ALL_MODS as _MODS
21
21
  from math import fabs, log10 as _log10
22
22
 
23
23
  __all__ = _ALL_LAZY.streprs
24
- __version__ = '24.03.20'
24
+ __version__ = '24.04.28'
25
25
 
26
26
  _EN_PREC = 6 # max MGRS/OSGR precision, 1 micrometer
27
27
  _EN_WIDE = 5 # number of MGRS/OSGR units, log10(_100km)
28
28
  _OKd_ = '._-' # acceptable name characters
29
29
  _PAREN_g = '(%g)' # PYCHOK used!
30
+ _RESIDUAL_ = 'RESIDUAL' # PYCHOK used!
30
31
  _threshold_ = 'threshold' # PYCHOK used!
31
32
 
32
33
 
@@ -123,6 +124,7 @@ class Fmt(object):
123
124
  EQUALSPACED = _Fmt(_EQUALSPACED_(NN, '%s'))
124
125
  exceeds_eps = _Fmt(_exceeds_(_eps_, _PAREN_g))
125
126
  exceeds_limit = _Fmt(_exceeds_(_limit_, _PAREN_g))
127
+ exceeds_R = _Fmt(_exceeds_(_RESIDUAL_, _PAREN_g))
126
128
  f = Fstr(_f_)
127
129
  F = Fstr(_F_)
128
130
  g = Fstr(_g_)
pygeodesy/triaxials.py CHANGED
@@ -30,7 +30,7 @@ see the U{GeographicLib<https://GeographicLib.SourceForge.io>} documentation.
30
30
  # make sure int/int division yields float quotient, see .basics
31
31
  from __future__ import division as _; del _ # PYCHOK semicolon
32
32
 
33
- from pygeodesy.basics import isLatLon, isscalar, map2, _zip, _ValueError
33
+ from pygeodesy.basics import isLatLon, isscalar, _zip, _ValueError
34
34
  from pygeodesy.constants import EPS, EPS0, EPS02, EPS4, INT0, PI2, PI_3, PI4, \
35
35
  _EPS2e4, float0_, isfinite, isnear1, _0_0, _0_5, \
36
36
  _1_0, _N_1_0, _N_2_0, _4_0 # PYCHOK used!
@@ -59,7 +59,7 @@ from pygeodesy.vector3d import _otherV3d, Vector3d, _ALL_LAZY, _MODS
59
59
  from math import atan2, fabs, sqrt
60
60
 
61
61
  __all__ = _ALL_LAZY.triaxials
62
- __version__ = '24.04.14'
62
+ __version__ = '24.04.30'
63
63
 
64
64
  _not_ordered_ = _not_('ordered')
65
65
  _omega_ = 'omega'
@@ -1127,7 +1127,7 @@ Triaxials = Triaxials(Triaxial, Triaxial_) # PYCHOK singleton
1127
1127
  # <https://ArxIV.org/pdf/1909.06452.pdf> Table 1 Semi-axes in Km
1128
1128
  # <https://www.JPS.NASA.gov/education/images/pdf/ss-moons.pdf>
1129
1129
  # <https://link.Springer.com/article/10.1007/s00190-022-01650-9>
1130
- _EWGS84_35 = _EWGS84.a + 35, _EWGS84.a - 35, _EWGS84.b
1130
+ _abc84_35 = (_EWGS84.a + 35), (_EWGS84.a - 35), _EWGS84.b
1131
1131
  Triaxials._assert( # a (Km) b (Km) c (Km) planet
1132
1132
  Amalthea = _lazy('Amalthea', 125.0, 73.0, 64), # Jupiter
1133
1133
  Ariel = _lazy('Ariel', 581.1, 577.9, 577.7), # Uranus
@@ -1140,8 +1140,8 @@ Triaxials._assert( # a (Km) b (Km) c (Km) planet
1140
1140
  Miranda = _lazy('Miranda', 240.4, 234.2, 232.9), # Uranus
1141
1141
  Moon = _lazy('Moon', 1735.55, 1735.324, 1734.898), # Earth
1142
1142
  Tethys = _lazy('Tethys', 535.6, 528.2, 525.8), # Saturn
1143
- WGS84_35 = _lazy('WGS84_35', *map2(m2km, _EWGS84_35)))
1144
- del _EWGS84_35
1143
+ WGS84_35 = _lazy('WGS84_35', *map(m2km, _abc84_35)))
1144
+ del _abc84_35, _EWGS84
1145
1145
 
1146
1146
 
1147
1147
  def _getitems(items, *indices):