amaazetools 0.2.1__tar.gz → 0.2.2__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 (26) hide show
  1. {amaazetools-0.2.1/amaazetools.egg-info → amaazetools-0.2.2}/PKG-INFO +1 -1
  2. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools/dicom.py +4 -2
  3. {amaazetools-0.2.1 → amaazetools-0.2.2/amaazetools.egg-info}/PKG-INFO +1 -1
  4. {amaazetools-0.2.1 → amaazetools-0.2.2}/pyproject.toml +1 -1
  5. {amaazetools-0.2.1 → amaazetools-0.2.2}/LICENSE +0 -0
  6. {amaazetools-0.2.1 → amaazetools-0.2.2}/MANIFEST.in +0 -0
  7. {amaazetools-0.2.1 → amaazetools-0.2.2}/README.md +0 -0
  8. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools/__init__.py +0 -0
  9. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools/edge_detection.py +0 -0
  10. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools/mesh_segmentation.py +0 -0
  11. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools/svi.py +0 -0
  12. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools/trimesh.py +0 -0
  13. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools.egg-info/SOURCES.txt +0 -0
  14. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools.egg-info/dependency_links.txt +0 -0
  15. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools.egg-info/requires.txt +0 -0
  16. {amaazetools-0.2.1 → amaazetools-0.2.2}/amaazetools.egg-info/top_level.txt +0 -0
  17. {amaazetools-0.2.1 → amaazetools-0.2.2}/setup.cfg +0 -0
  18. {amaazetools-0.2.1 → amaazetools-0.2.2}/setup.py +0 -0
  19. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/cextensions.c +0 -0
  20. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/memory_allocation.c +0 -0
  21. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/memory_allocation.h +0 -0
  22. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/mesh_operations.c +0 -0
  23. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/mesh_operations.h +0 -0
  24. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/svi_computations.c +0 -0
  25. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/svi_computations.h +0 -0
  26. {amaazetools-0.2.1 → amaazetools-0.2.2}/src/vector_operations.h +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amaazetools
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python package for mesh processing tools developed by AMAAZE
5
5
  Author-email: Jeff Calder <jwcalder@umn.edu>
6
6
  License: MIT
@@ -909,7 +909,7 @@ def surfacing_subproc(filename,directory,iso_level,write_gif=False,miror=False):
909
909
 
910
910
 
911
911
 
912
- def surface_bones_parallel(directory, iso=2500, write_gif=False,error_fname='./surfacing_errors.csv',ncores='all'):
912
+ def surface_bones_parallel(directory, iso=2500, write_gif=False, mirror=False, error_fname='./surfacing_errors.csv',ncores='all'):
913
913
  """ parallelized implementation of surface_bones with also surfacing error support.
914
914
  Processes all npz files in directory creating surface and saving to a ply file.
915
915
 
@@ -921,6 +921,8 @@ def surface_bones_parallel(directory, iso=2500, write_gif=False,error_fname='./s
921
921
  Iso level to be used for surfacing.
922
922
  write_gif : bool (optional), default=False
923
923
  Whether to output rotating gifs for each object. Requires mayavi, which can be hard to install.
924
+ mirror : bool (optional), default=False
925
+ Whether to mirror bones when surfacing.
924
926
  error_fname
925
927
 
926
928
  Returns
@@ -941,7 +943,7 @@ def surface_bones_parallel(directory, iso=2500, write_gif=False,error_fname='./s
941
943
  else:
942
944
  num_cores =multiprocessing.cpu_count()
943
945
 
944
- errs = Parallel(n_jobs=num_cores)(delayed(surfacing_subproc)(f,directory,iso,write_gif) for f in fnames)
946
+ errs = Parallel(n_jobs=num_cores)(delayed(surfacing_subproc)(f,directory,iso,mirror,write_gif) for f in fnames)
945
947
 
946
948
  errs = np.array(errs)
947
949
  errs = errs[errs!='0']
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amaazetools
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python package for mesh processing tools developed by AMAAZE
5
5
  Author-email: Jeff Calder <jwcalder@umn.edu>
6
6
  License: MIT
@@ -9,7 +9,7 @@ packages = ['amaazetools']
9
9
 
10
10
  [project]
11
11
  name = "amaazetools"
12
- version = "0.2.1"
12
+ version = "0.2.2"
13
13
  authors = [
14
14
  { name="Jeff Calder", email="jwcalder@umn.edu" },
15
15
  ]
File without changes
File without changes
File without changes
File without changes
File without changes