imicpe 1.0.13__tar.gz → 1.0.14__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.
Files changed (32) hide show
  1. {imicpe-1.0.13 → imicpe-1.0.14}/PKG-INFO +1 -1
  2. {imicpe-1.0.13 → imicpe-1.0.14}/pyproject.toml +1 -1
  3. imicpe-1.0.14/src/imicpe/_version.py +1 -0
  4. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/optim/operators.py +6 -6
  5. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe.egg-info/PKG-INFO +1 -1
  6. imicpe-1.0.13/src/imicpe/_version.py +0 -1
  7. {imicpe-1.0.13 → imicpe-1.0.14}/DESCRIPTION.md +0 -0
  8. {imicpe-1.0.13 → imicpe-1.0.14}/LICENSE +0 -0
  9. {imicpe-1.0.13 → imicpe-1.0.14}/README.md +0 -0
  10. {imicpe-1.0.13 → imicpe-1.0.14}/setup.cfg +0 -0
  11. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/__init__.py +0 -0
  12. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/cs/__init__.py +0 -0
  13. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/cs/l1.py +0 -0
  14. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/cs/masks.py +0 -0
  15. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/cs/metrics.py +0 -0
  16. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/cs/operators.py +0 -0
  17. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/cs/shepp_logan_phantom.py +0 -0
  18. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/cs/tikhonov.py +0 -0
  19. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/optim/__init__.py +0 -0
  20. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/optim/metrics.py +0 -0
  21. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/optim/pnnDataset.py +0 -0
  22. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/optim/pnnTrainer.py +0 -0
  23. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/optim/pnnUtils.py +0 -0
  24. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/reco3D/__init__.py +0 -0
  25. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/reco3D/angles.py +0 -0
  26. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/reco3D/calculPose.py +0 -0
  27. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/reco3D/evalTrajecto.py +0 -0
  28. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe/reco3D/vue3D.py +0 -0
  29. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe.egg-info/SOURCES.txt +0 -0
  30. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe.egg-info/dependency_links.txt +0 -0
  31. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe.egg-info/requires.txt +0 -0
  32. {imicpe-1.0.13 → imicpe-1.0.14}/src/imicpe.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imicpe
3
- Version: 1.0.13
3
+ Version: 1.0.14
4
4
  Summary: Toolbox for Maths,Signal,Image Teaching @ CPE
5
5
  Author-email: Marion Foare <marion.foare@cpe.fr>, Eric Van Reeth <eric.vanreeth@cpe.fr>, Arthur Gautheron <arthur.gautheron@cpe.fr>
6
6
  License: MIT License
@@ -14,7 +14,7 @@ mypkg = ["*.txt", "*.mat", "*.npy"]
14
14
  #[tool.setuptools_scm]
15
15
 
16
16
  [project]
17
- version="1.0.13"
17
+ version="1.0.14"
18
18
  name = "imicpe"
19
19
  authors = [
20
20
  { name="Marion Foare", email="marion.foare@cpe.fr" },
@@ -0,0 +1 @@
1
+ __version__="1.0.14"
@@ -95,12 +95,12 @@ def L(x):
95
95
  """
96
96
 
97
97
  if x.ndim == 1:
98
- ker = np.array([1, -2, 1])
98
+ ker = np.array([1, -2, 1])/4
99
99
  #lap = np.convolve(x,ker,'same')
100
100
  lap = ndimage.convolve1d(x,ker,mode='nearest')
101
101
  elif x.ndim == 2:
102
- ker = np.array([[0, 1, 0], [1, -4, 1], [0, 1, 0]]) # V4
103
- #ker = np.array([[1, 1, 1], [1, -8, 1], [1, 1, 1]]) # V8
102
+ ker = np.array([[0, 1, 0], [1, -4, 1], [0, 1, 0]])/8 # V4
103
+ #ker = np.array([[1, 1, 1], [1, -8, 1], [1, 1, 1]])/16 # V8
104
104
  lap = ndimage.convolve(x,ker,mode='nearest')
105
105
  return lap
106
106
 
@@ -120,12 +120,12 @@ def Lt(x):
120
120
  """
121
121
 
122
122
  if x.ndim == 1:
123
- ker = np.array([1, -2, 1])
123
+ ker = np.array([1, -2, 1])/4
124
124
  #lap = np.correlate(x,ker,'same')
125
125
  lap = ndimage.correlate1d(x,ker,mode='nearest')
126
126
  elif x.ndim == 2:
127
- ker = np.array([[0, 1, 0], [1, -4, 1], [0, 1, 0]]) # V4
128
- #ker = np.array([[1, 1, 1], [1, -8, 1], [1, 1, 1]]) # V8
127
+ ker = np.array([[0, 1, 0], [1, -4, 1], [0, 1, 0]])/8 # V4
128
+ #ker = np.array([[1, 1, 1], [1, -8, 1], [1, 1, 1]])/16 # V8
129
129
  lap = ndimage.correlate(x,ker,mode='nearest')
130
130
  return lap
131
131
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: imicpe
3
- Version: 1.0.13
3
+ Version: 1.0.14
4
4
  Summary: Toolbox for Maths,Signal,Image Teaching @ CPE
5
5
  Author-email: Marion Foare <marion.foare@cpe.fr>, Eric Van Reeth <eric.vanreeth@cpe.fr>, Arthur Gautheron <arthur.gautheron@cpe.fr>
6
6
  License: MIT License
@@ -1 +0,0 @@
1
- __version__="1.0.13"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes