pyvlasiator 0.1.8__tar.gz → 0.1.9__tar.gz

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.

Potentially problematic release.


This version of pyvlasiator might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyvlasiator
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Python utilities for processing Vlasiator data
5
5
  Author: Hongyang Zhou
6
6
  Author-email: hyzhou@umich.edu
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyvlasiator"
3
- version = "0.1.8"
3
+ version = "0.1.9"
4
4
  description = "Python utilities for processing Vlasiator data"
5
5
  authors = ["Hongyang Zhou <hyzhou@umich.edu>"]
6
6
  readme = "README.md"
@@ -700,17 +700,17 @@ def prep2dslice(meta: Vlsv, var: str, dir: int, comp: int, pArgs: PlotArgs):
700
700
  if comp != -1:
701
701
  data = data3D[icut, :, :, comp]
702
702
  else:
703
- data = np.linalg.norm(data3D[icut, :, :, :], axis=3)
703
+ data = np.linalg.norm(data3D[icut, :, :, :], axis=2)
704
704
  elif dir == 1:
705
705
  if comp != -1:
706
706
  data = data3D[:, icut, :, comp]
707
707
  else:
708
- data = np.linalg.norm(data3D[:, icut, :, :], axis=3)
708
+ data = np.linalg.norm(data3D[:, icut, :, :], axis=2)
709
709
  elif dir == 2:
710
710
  if comp != -1:
711
711
  data = data3D[:, :, icut, comp]
712
712
  else:
713
- data = np.linalg.norm(data3D[:, :, icut, :], axis=3)
713
+ data = np.linalg.norm(data3D[:, :, icut, :], axis=2)
714
714
  else: # moments, dccrg grid
715
715
  # vlasov grid, AMR
716
716
  if data3D.ndim == 1:
File without changes
File without changes