sxs 2024.0.38__py3-none-any.whl → 2024.0.40__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.
sxs/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2024.0.38"
1
+ __version__ = "2024.0.40"
sxs/metadata/metadata.py CHANGED
@@ -622,11 +622,16 @@ class Metadata(collections.OrderedDict):
622
622
  def setdefault(self, key, default=None):
623
623
  return super(Metadata, self).setdefault(_valid_identifier(key), default)
624
624
 
625
- def update(self, mapping_or_iterable=None, **kwargs):
626
- if isinstance(mapping_or_iterable, collections.abc.Mapping):
627
- mapping_or_iterable = collections.OrderedDict(
628
- [(_valid_identifier(key), mapping_or_iterable[key]) for key in mapping_or_iterable]
629
- )
630
- elif isinstance(mapping_or_iterable, collections.abc.Iterable):
631
- mapping_or_iterable = [(_valid_identifier(k), v) for k, v in mapping_or_iterable]
632
- return super(Metadata, self).update(mapping_or_iterable)
625
+ def update(self, mapping_or_iterable=None, /, **kwargs):
626
+ # This should be just the same as the collections.OrderedDict.update
627
+ # method, except that identifiers passed in via mapping_or_iterable
628
+ # have to be converted to valid identifiers first.
629
+ if mapping_or_iterable is not None:
630
+ if hasattr(mapping_or_iterable, "keys") and callable(mapping_or_iterable.keys):
631
+ for k in mapping_or_iterable:
632
+ self[_valid_identifier(k)] = mapping_or_iterable[k]
633
+ else:
634
+ for k, v in mapping_or_iterable:
635
+ self[_valid_identifier(k)] = v
636
+ for k in kwargs:
637
+ self[k] = kwargs[k]
@@ -299,6 +299,7 @@ def align2d(wa, wb, t1, t2, n_brute_force_δt=None, n_brute_force_δϕ=5, max_δ
299
299
  modes_axis=1,
300
300
  ell_min=2,
301
301
  ell_max=ell_max,
302
+ spin_weight = wa.spin_weight,
302
303
  )
303
304
  wa_primes.append(wa_prime)
304
305
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sxs
3
- Version: 2024.0.38
3
+ Version: 2024.0.40
4
4
  Summary: Interface to data produced by the Simulating eXtreme Spacetimes collaboration
5
5
  Project-URL: Homepage, https://github.com/sxs-collaboration/sxs
6
6
  Project-URL: Documentation, https://sxs.readthedocs.io/
@@ -1,5 +1,5 @@
1
1
  sxs/__init__.py,sha256=hbydsXWR88sFiKExPJ1NHWGEvWRbbJBjSc1irSMYKgY,2623
2
- sxs/__version__.py,sha256=CXIMYVYYWnQwUuXrShUC1je5GnAjkVSnqjCPf5JKxVE,26
2
+ sxs/__version__.py,sha256=EGvErJKyfOAcfUYNKwYjEPAOmSCXucQ-3166Z0QMqHw,26
3
3
  sxs/handlers.py,sha256=Nc1_aDKm_wDHg2cITI_ljbqU4VRWpwQ7fdgy3c1XcE8,17531
4
4
  sxs/juliapkg.json,sha256=-baaa3Za_KBmmiGjlh2YYLWmvUvZl6GaKKXwNI4S7qU,178
5
5
  sxs/time_series.py,sha256=OKaLg8tFyrtKcef7900ri-a0C6A8wKxA68KovZXvH6I,41081
@@ -16,7 +16,7 @@ sxs/horizons/xor_multishuffle_bzip2.py,sha256=y4AKuxmLuj8K1pkdhIoSzENGyMu4uhpiPr
16
16
  sxs/julia/GWFrames.py,sha256=47H9Ugff7ldGBujiUTcADT3b4MSxUtqmajvSApI91WA,2892
17
17
  sxs/julia/__init__.py,sha256=uSLP_xfU-GZG7IO5vs0TEkCR4LH8aBYMF-852wDY3kI,3490
18
18
  sxs/metadata/__init__.py,sha256=jz0A3sBYQoNVZ5sdHv6LgI6y4kP2051-esCR62xt6bM,184
19
- sxs/metadata/metadata.py,sha256=kXTQzlGpIkd_-1xtBosVhN3FWfBdev9jO_Tg73zXHTQ,28344
19
+ sxs/metadata/metadata.py,sha256=xB4Cz2V_7qwabK_x0L5rPuWS1XOOWXQKx4EPXtlbZLo,28515
20
20
  sxs/metadata/metric.py,sha256=zWyM23SQUMXwpDvQNnp2USJrwxiC3SoobFXm0h_sMMs,6615
21
21
  sxs/simulations/__init__.py,sha256=GrZym0PHTULDg_hyFmISNzDfqVLz_hQo-djbgecZs54,134
22
22
  sxs/simulations/local.py,sha256=nh1coOPunVD0hB6pp2WTm31rFdakNEoP5niMbV4s04o,7992
@@ -58,7 +58,7 @@ sxs/utilities/references/inspire.py,sha256=kDjY-UFJT-VTS3yJOT8fT6LJG-pRrX9TK8nv3
58
58
  sxs/utilities/references/journal_abbreviations.py,sha256=SuRXcr4rv9YPbXD4mzujSvE7M6KS1lwELimuyn7mfCE,31018
59
59
  sxs/utilities/references/references.py,sha256=29rPUZKw3dztXQLRDEt1hGYjZaONFd0qX--xQxzOmUU,418
60
60
  sxs/waveforms/__init__.py,sha256=FPu_MFwfzcLsWhvoLm_AXRLz59eBODes4MY2_taTE5c,1150
61
- sxs/waveforms/alignment.py,sha256=II2OdEroETrFHaia37V-hqEIpMnVl7OtLlQ1dFDtT1U,21299
61
+ sxs/waveforms/alignment.py,sha256=Z_fCnUIza89Vwzl5qo4spwd2-ZrzYxFU8Q7b6UKFtMU,21341
62
62
  sxs/waveforms/memory.py,sha256=1BOov3QJl9wexgGt8HA8MqVZZfLKbykff5pRVzLiILo,7763
63
63
  sxs/waveforms/mode_utilities.py,sha256=gxsW-hunCoIReBVv9IrkGLdshr0rmztbH-JRgD6D9z0,5253
64
64
  sxs/waveforms/transformations.py,sha256=S5C-xnCk2umZlVsYgciyp7VMGZA8NI6md7OZp72upJU,9124
@@ -82,7 +82,7 @@ sxs/zenodo/api/__init__.py,sha256=EM_eh4Q8R5E0vIfMhyIR1IYFfOBu6vA0UTasgX9gHys,21
82
82
  sxs/zenodo/api/deposit.py,sha256=J4RGvGjh0cEOrN4bBZWEDcPAhNscqB2fzLlvRZ5HTHM,36948
83
83
  sxs/zenodo/api/login.py,sha256=Yz0ytgi81_5BpDzhrS0WPMXlvU2qUaCK8yn8zxfEbko,18007
84
84
  sxs/zenodo/api/records.py,sha256=nKkhoHZ95CTztHF9Zzaug5p7IiUCJG4Em1i-l-WqH6U,3689
85
- sxs-2024.0.38.dist-info/METADATA,sha256=cESCGq9mEmoSqbG19488rofGZADcVYJLReS0-Rc1Lww,9253
86
- sxs-2024.0.38.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
87
- sxs-2024.0.38.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
88
- sxs-2024.0.38.dist-info/RECORD,,
85
+ sxs-2024.0.40.dist-info/METADATA,sha256=574RUXvZj-1zsevIFQ2to3JPHtKL_Wf6vHiflSeYKN0,9253
86
+ sxs-2024.0.40.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
87
+ sxs-2024.0.40.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
88
+ sxs-2024.0.40.dist-info/RECORD,,