pyvale 2025.4.0__py3-none-any.whl → 2025.4.1__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.

Potentially problematic release.


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

Files changed (98) hide show
  1. pyvale/__init__.py +51 -52
  2. pyvale/analyticmeshgen.py +101 -0
  3. pyvale/{core/analyticsimdatafactory.py → analyticsimdatafactory.py} +32 -9
  4. pyvale/{core/analyticsimdatagenerator.py → analyticsimdatagenerator.py} +151 -21
  5. pyvale/{core/camera.py → camera.py} +13 -14
  6. pyvale/{core/cameradata.py → cameradata.py} +6 -19
  7. pyvale/{core/cameradata2d.py → cameradata2d.py} +7 -7
  8. pyvale/{core/cameratools.py → cameratools.py} +18 -19
  9. pyvale/{core/cython → cython}/rastercyth.py +9 -9
  10. pyvale/data/__init__.py +5 -7
  11. pyvale/data/case00_HEX20_out.e +0 -0
  12. pyvale/data/case00_HEX27_out.e +0 -0
  13. pyvale/data/case00_HEX8_out.e +0 -0
  14. pyvale/data/case00_TET10_out.e +0 -0
  15. pyvale/data/case00_TET14_out.e +0 -0
  16. pyvale/data/case00_TET4_out.e +0 -0
  17. pyvale/{core/dataset.py → dataset.py} +24 -8
  18. pyvale/{core/errorcalculator.py → errorcalculator.py} +7 -8
  19. pyvale/{core/errordriftcalc.py → errordriftcalc.py} +6 -7
  20. pyvale/{core/errorintegrator.py → errorintegrator.py} +8 -9
  21. pyvale/{core/errorrand.py → errorrand.py} +9 -10
  22. pyvale/{core/errorsysdep.py → errorsysdep.py} +8 -9
  23. pyvale/{core/errorsysfield.py → errorsysfield.py} +13 -14
  24. pyvale/{core/errorsysindep.py → errorsysindep.py} +9 -10
  25. pyvale/examples/__init__.py +5 -7
  26. pyvale/examples/analyticdatagen/__init__.py +5 -7
  27. pyvale/examples/ex1_1_thermal2d.py +6 -9
  28. pyvale/examples/ex1_2_thermal2d.py +6 -9
  29. pyvale/examples/ex1_3_thermal2d.py +6 -9
  30. pyvale/examples/ex1_4_thermal2d.py +6 -9
  31. pyvale/examples/ex1_5_thermal2d.py +6 -9
  32. pyvale/examples/ex2_1_thermal3d .py +6 -9
  33. pyvale/examples/ex2_3_thermal3d.py +6 -9
  34. pyvale/examples/ex3_1_displacement2d.py +6 -9
  35. pyvale/examples/ex3_2_displacement2d.py +5 -8
  36. pyvale/examples/ex3_3_displacement2d.py +6 -9
  37. pyvale/examples/ex3_4_displacement2d.py +6 -9
  38. pyvale/examples/ex4_1_strain2d.py +6 -9
  39. pyvale/examples/ex4_2_strain2d.py +5 -8
  40. pyvale/examples/ex4_3_strain2d.py +6 -9
  41. pyvale/examples/ex5_1_multiphysics2d.py +5 -8
  42. pyvale/examples/ex6_1_multiphysics2d_expsim.py +6 -9
  43. pyvale/examples/ex6_2_multiphysics3d_expsim.py +15 -13
  44. pyvale/examples/features/__init__.py +5 -7
  45. pyvale/examples/rasterisation/ex_rastenp.py +5 -7
  46. pyvale/examples/rasterisation/ex_rastercyth_oneframe.py +5 -7
  47. pyvale/examples/rasterisation/ex_rastercyth_static_cypara.py +5 -7
  48. pyvale/examples/rasterisation/ex_rastercyth_static_pypara.py +5 -7
  49. pyvale/{core/experimentsimulator.py → experimentsimulator.py} +7 -8
  50. pyvale/{core/field.py → field.py} +6 -7
  51. pyvale/{core/fieldconverter.py → fieldconverter.py} +138 -17
  52. pyvale/{core/fieldsampler.py → fieldsampler.py} +9 -10
  53. pyvale/{core/fieldscalar.py → fieldscalar.py} +9 -10
  54. pyvale/{core/fieldtensor.py → fieldtensor.py} +10 -11
  55. pyvale/{core/fieldtransform.py → fieldtransform.py} +6 -7
  56. pyvale/{core/fieldvector.py → fieldvector.py} +10 -11
  57. pyvale/{core/generatorsrandom.py → generatorsrandom.py} +6 -7
  58. pyvale/{core/imagedef2d.py → imagedef2d.py} +9 -10
  59. pyvale/{core/integratorfactory.py → integratorfactory.py} +12 -13
  60. pyvale/{core/integratorquadrature.py → integratorquadrature.py} +9 -10
  61. pyvale/{core/integratorrectangle.py → integratorrectangle.py} +9 -10
  62. pyvale/{core/integratorspatial.py → integratorspatial.py} +7 -8
  63. pyvale/{core/integratortype.py → integratortype.py} +6 -7
  64. pyvale/{core/optimcheckfuncs.py → optimcheckfuncs.py} +1 -1
  65. pyvale/{core/raster.py → raster.py} +6 -7
  66. pyvale/{core/rastercy.py → rastercy.py} +9 -10
  67. pyvale/{core/rasternp.py → rasternp.py} +10 -13
  68. pyvale/{core/rendermesh.py → rendermesh.py} +8 -21
  69. pyvale/{core/sensorarray.py → sensorarray.py} +7 -8
  70. pyvale/{core/sensorarrayfactory.py → sensorarrayfactory.py} +15 -16
  71. pyvale/{core/sensorarraypoint.py → sensorarraypoint.py} +12 -13
  72. pyvale/{core/sensordata.py → sensordata.py} +7 -8
  73. pyvale/{core/sensordescriptor.py → sensordescriptor.py} +6 -7
  74. pyvale/{core/sensortools.py → sensortools.py} +7 -8
  75. pyvale/simcases/case00_HEX20.i +5 -5
  76. pyvale/simcases/case00_HEX27.i +5 -5
  77. pyvale/simcases/case00_HEX8.i +242 -0
  78. pyvale/simcases/case00_TET10.i +2 -2
  79. pyvale/simcases/case00_TET14.i +2 -2
  80. pyvale/simcases/case00_TET4.i +242 -0
  81. pyvale/simcases/run_1case.py +1 -1
  82. pyvale/{core/visualexpplotter.py → visualexpplotter.py} +8 -10
  83. pyvale/{core/visualimagedef.py → visualimagedef.py} +6 -7
  84. pyvale/{core/visualimages.py → visualimages.py} +8 -9
  85. pyvale/{core/visualopts.py → visualopts.py} +6 -7
  86. pyvale/{core/visualsimanimator.py → visualsimanimator.py} +10 -11
  87. pyvale/{core/visualsimplotter.py → visualsimplotter.py} +30 -30
  88. pyvale/{core/visualtools.py → visualtools.py} +7 -8
  89. pyvale/{core/visualtraceplotter.py → visualtraceplotter.py} +9 -10
  90. {pyvale-2025.4.0.dist-info → pyvale-2025.4.1.dist-info}/METADATA +1 -1
  91. pyvale-2025.4.1.dist-info/RECORD +163 -0
  92. {pyvale-2025.4.0.dist-info → pyvale-2025.4.1.dist-info}/WHEEL +1 -1
  93. pyvale/core/__init__.py +0 -7
  94. pyvale/core/analyticmeshgen.py +0 -59
  95. pyvale/core/cython/rastercyth.c +0 -32267
  96. pyvale-2025.4.0.dist-info/RECORD +0 -157
  97. {pyvale-2025.4.0.dist-info → pyvale-2025.4.1.dist-info}/licenses/LICENSE +0 -0
  98. {pyvale-2025.4.0.dist-info → pyvale-2025.4.1.dist-info}/top_level.txt +0 -0
@@ -1,10 +1,9 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  import warnings
9
8
  from pathlib import Path
10
9
  import numpy as np
@@ -12,8 +11,8 @@ from scipy.signal import convolve2d
12
11
  from scipy.spatial.transform import Rotation
13
12
  import matplotlib.image as mplim
14
13
  from PIL import Image
15
- from pyvale.core.cameradata2d import CameraData2D
16
- from pyvale.core.sensordata import SensorData
14
+ from pyvale.cameradata2d import CameraData2D
15
+ from pyvale.sensordata import SensorData
17
16
 
18
17
  # NOTE: This module is a feature under developement.
19
18
 
@@ -263,16 +262,16 @@ class CameraTools:
263
262
  boundbox_cam_leng = (np.max(bound_box_cam_vecs,axis=1)
264
263
  - np.min(bound_box_cam_vecs,axis=1))
265
264
 
266
- print(80*"-")
267
- print(f"{bb_min=}")
268
- print(f"{bb_max=}")
269
- print()
270
- print("Cam to world mat:")
271
- print(cam_to_world_mat)
272
- print()
273
- print("World to cam mat:")
274
- print(world_to_cam_mat)
275
- print(80*"-")
265
+ # print(80*"-")
266
+ # print(f"{bb_min=}")
267
+ # print(f"{bb_max=}")
268
+ # print()
269
+ # print("Cam to world mat:")
270
+ # print(cam_to_world_mat)
271
+ # print()
272
+ # print("World to cam mat:")
273
+ # print(world_to_cam_mat)
274
+ # print(80*"-")
276
275
 
277
276
  return np.array((boundbox_cam_leng[xx],boundbox_cam_leng[yy]))
278
277
 
@@ -1,18 +1,18 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  import numpy as np
9
8
  import cython
10
9
  from cython.parallel import prange, parallel, threadid
11
10
  from cython.cimports.libc.math import floor, ceil
12
11
 
13
- from pyvale.core.rendermesh import RenderMeshData
14
- from pyvale.core.cameradata import CameraData
12
+ from pyvale.rendermesh import RenderMeshData
13
+ from pyvale.cameradata import CameraData
15
14
 
15
+ # NOTE: This module is a feature under developement.
16
16
 
17
17
  @cython.nogil
18
18
  @cython.cfunc # python+C or cython.cfunc for C only
pyvale/data/__init__.py CHANGED
@@ -1,7 +1,5 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ #===============================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ #===============================================================================
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,14 +1,26 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ #===============================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ #===============================================================================
6
+
7
+ from enum import Enum
8
8
  from pathlib import Path
9
9
  from importlib.resources import files
10
10
 
11
11
 
12
+ class EElemTest(Enum):
13
+ TET4 = "TET4"
14
+ TET10 = "TET10"
15
+ TET14 = "TET14"
16
+ HEX8 = "HEX8"
17
+ HEX20 = "HEX20"
18
+ HEX27 = "HEX27"
19
+
20
+ def __str__(self):
21
+ return self.value
22
+
23
+
12
24
  SIM_CASE_COUNT = 26
13
25
 
14
26
 
@@ -247,4 +259,8 @@ class DataSet:
247
259
 
248
260
  @staticmethod
249
261
  def render_simple_block_path() -> Path:
250
- return Path(files("pyvale.data").joinpath("case25_out.e"))
262
+ return Path(files("pyvale.data").joinpath("case25_out.e"))
263
+
264
+ @staticmethod
265
+ def element_case_path(elem_type: EElemTest) -> Path:
266
+ return Path(files("pyvale.data").joinpath(f"case00_{elem_type.value}_out.e"))
@@ -1,14 +1,13 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  import enum
9
8
  from abc import ABC, abstractmethod
10
9
  import numpy as np
11
- from pyvale.core.sensordata import SensorData
10
+ from pyvale.sensordata import SensorData
12
11
 
13
12
 
14
13
  class EErrType(enum.Enum):
@@ -1,10 +1,9 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  from abc import ABC, abstractmethod
9
8
  import numpy as np
10
9
 
@@ -1,17 +1,16 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  import copy
9
8
  from dataclasses import dataclass
10
9
  import numpy as np
11
- from pyvale.core.errorcalculator import (IErrCalculator,
10
+ from pyvale.errorcalculator import (IErrCalculator,
12
11
  EErrType,
13
12
  EErrDependence)
14
- from pyvale.core.sensordata import SensorData
13
+ from pyvale.sensordata import SensorData
15
14
 
16
15
 
17
16
  @dataclass(slots=True)
@@ -1,16 +1,15 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  import numpy as np
9
- from pyvale.core.sensordata import SensorData
10
- from pyvale.core.errorcalculator import (IErrCalculator,
8
+ from pyvale.sensordata import SensorData
9
+ from pyvale.errorcalculator import (IErrCalculator,
11
10
  EErrType,
12
11
  EErrDependence)
13
- from pyvale.core.generatorsrandom import IGeneratorRandom
12
+ from pyvale.generatorsrandom import IGeneratorRandom
14
13
 
15
14
 
16
15
  class ErrRandUniform(IErrCalculator):
@@ -1,15 +1,14 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  import enum
9
8
  from typing import Callable
10
9
  import numpy as np
11
- from pyvale.core.sensordata import SensorData
12
- from pyvale.core.errorcalculator import (IErrCalculator,
10
+ from pyvale.sensordata import SensorData
11
+ from pyvale.errorcalculator import (IErrCalculator,
13
12
  EErrType,
14
13
  EErrDependence)
15
14
 
@@ -1,24 +1,23 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  import copy
9
8
  from dataclasses import dataclass
10
9
  import numpy as np
11
10
  from scipy.spatial.transform import Rotation
12
11
 
13
- from pyvale.core.field import IField
14
- from pyvale.core.fieldsampler import sample_field_with_sensor_data
15
- from pyvale.core.sensordata import SensorData
16
- from pyvale.core.integratortype import EIntSpatialType
17
- from pyvale.core.errorcalculator import (IErrCalculator,
12
+ from pyvale.field import IField
13
+ from pyvale.fieldsampler import sample_field_with_sensor_data
14
+ from pyvale.sensordata import SensorData
15
+ from pyvale.integratortype import EIntSpatialType
16
+ from pyvale.errorcalculator import (IErrCalculator,
18
17
  EErrType,
19
18
  EErrDependence)
20
- from pyvale.core.errordriftcalc import IDriftCalculator
21
- from pyvale.core.generatorsrandom import IGeneratorRandom
19
+ from pyvale.errordriftcalc import IDriftCalculator
20
+ from pyvale.generatorsrandom import IGeneratorRandom
22
21
 
23
22
 
24
23
  @dataclass(slots=True)
@@ -1,17 +1,16 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
8
7
  from typing import Callable
9
8
  import numpy as np
10
- from pyvale.core.errorcalculator import (IErrCalculator,
9
+ from pyvale.errorcalculator import (IErrCalculator,
11
10
  EErrType,
12
11
  EErrDependence)
13
- from pyvale.core.generatorsrandom import IGeneratorRandom
14
- from pyvale.core.sensordata import SensorData
12
+ from pyvale.generatorsrandom import IGeneratorRandom
13
+ from pyvale.sensordata import SensorData
15
14
 
16
15
 
17
16
  class ErrSysOffset(IErrCalculator):
@@ -1,7 +1,5 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ #===============================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ #===============================================================================
@@ -1,7 +1,5 @@
1
- """
2
- ================================================================================
3
- pyvale: the python validation engine
4
- License: MIT
5
- Copyright (C) 2025 The Computer Aided Validation Team
6
- ================================================================================
7
- """
1
+ #===============================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ #===============================================================================
@@ -1,12 +1,9 @@
1
- """
2
- ================================================================================
3
- Example: thermocouples on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  from pathlib import Path
11
8
  import matplotlib.pyplot as plt
12
9
  import mooseherder as mh
@@ -1,12 +1,9 @@
1
- """
2
- ================================================================================
3
- Example: thermocouples on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  import matplotlib.pyplot as plt
11
8
  import mooseherder as mh
12
9
  import pyvale as pyv
@@ -1,12 +1,9 @@
1
- """
2
- ================================================================================
3
- Example: thermocouples on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  import numpy as np
11
8
  import matplotlib.pyplot as plt
12
9
  import mooseherder as mh
@@ -1,12 +1,9 @@
1
- """
2
- ================================================================================
3
- Example: thermocouples on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  import numpy as np
11
8
  import matplotlib.pyplot as plt
12
9
  import mooseherder as mh
@@ -1,12 +1,9 @@
1
- '''
2
- ================================================================================
3
- Example: thermocouples on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- '''
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  import numpy as np
11
8
  import matplotlib.pyplot as plt
12
9
  import mooseherder as mh
@@ -1,12 +1,9 @@
1
- '''
2
- ================================================================================
3
- Example: 3d thermocouples on a monoblock
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- '''
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  from pathlib import Path
11
8
  import matplotlib.pyplot as plt
12
9
  import mooseherder as mh
@@ -1,12 +1,9 @@
1
- """
2
- ================================================================================
3
- Example: 3d thermocouples on a monoblock
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  from pathlib import Path
11
8
  import numpy as np
12
9
  import matplotlib.pyplot as plt
@@ -1,12 +1,9 @@
1
- '''
2
- ================================================================================
3
- example: displacement sensors on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- '''
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  import matplotlib.pyplot as plt
11
8
  import mooseherder as mh
12
9
  import pyvale as pyv
@@ -1,12 +1,9 @@
1
- '''
2
- ================================================================================
3
- example: displacement sensors on a 2d plate
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
4
6
 
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- '''
10
7
  from pathlib import Path
11
8
  import numpy as np
12
9
  import matplotlib.pyplot as plt
@@ -1,12 +1,9 @@
1
- '''
2
- ================================================================================
3
- Example: displacement sensors on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- '''
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  from pathlib import Path
11
8
  import numpy as np
12
9
  import matplotlib.pyplot as plt
@@ -1,12 +1,9 @@
1
- """
2
- ================================================================================
3
- Example: displacement sensors on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- """
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  import numpy as np
11
8
  import matplotlib.pyplot as plt
12
9
  from scipy.spatial.transform import Rotation
@@ -1,12 +1,9 @@
1
- '''
2
- ================================================================================
3
- Example: strain gauges on a 2d plate
4
-
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- '''
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
6
+
10
7
  from pathlib import Path
11
8
  import numpy as np
12
9
  import matplotlib.pyplot as plt
@@ -1,12 +1,9 @@
1
- '''
2
- ================================================================================
3
- Example: strain gauges on a 2d plate
1
+ # ================================================================================
2
+ # pyvale: the python validation engine
3
+ # License: MIT
4
+ # Copyright (C) 2025 The Computer Aided Validation Team
5
+ # ================================================================================
4
6
 
5
- pyvale: the python validation engine
6
- License: MIT
7
- Copyright (C) 2025 The Computer Aided Validation Team
8
- ================================================================================
9
- '''
10
7
  import numpy as np
11
8
  import matplotlib.pyplot as plt
12
9
  import mooseherder as mh