bmtool 0.3.8__tar.gz → 0.3.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.
Files changed (25) hide show
  1. {bmtool-0.3.8 → bmtool-0.3.9}/PKG-INFO +1 -1
  2. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/bmplot.py +6 -2
  3. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool.egg-info/PKG-INFO +1 -1
  4. {bmtool-0.3.8 → bmtool-0.3.9}/setup.py +1 -1
  5. {bmtool-0.3.8 → bmtool-0.3.9}/LICENSE +0 -0
  6. {bmtool-0.3.8 → bmtool-0.3.9}/README.md +0 -0
  7. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/__init__.py +0 -0
  8. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/__main__.py +0 -0
  9. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/debug/__init__.py +0 -0
  10. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/debug/commands.py +0 -0
  11. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/debug/debug.py +0 -0
  12. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/manage.py +0 -0
  13. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/plot_commands.py +0 -0
  14. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/singlecell.py +0 -0
  15. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/util/__init__.py +0 -0
  16. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/util/commands.py +0 -0
  17. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/util/neuron/__init__.py +0 -0
  18. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/util/neuron/celltuner.py +0 -0
  19. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool/util/util.py +0 -0
  20. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool.egg-info/SOURCES.txt +0 -0
  21. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool.egg-info/dependency_links.txt +0 -0
  22. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool.egg-info/entry_points.txt +0 -0
  23. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool.egg-info/requires.txt +0 -0
  24. {bmtool-0.3.8 → bmtool-0.3.9}/bmtool.egg-info/top_level.txt +0 -0
  25. {bmtool-0.3.8 → bmtool-0.3.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bmtool
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: BMTool
5
5
  Home-page: https://github.com/tjbanks/bmtool
6
6
  Download-URL:
@@ -483,13 +483,17 @@ def cell_rotation_3d(**kwargs):
483
483
  uvw = pd.DataFrame([U,V,W]).T
484
484
  init_vector = init_vector.split(',')
485
485
  init_vector = np.repeat([init_vector],len(X),axis=0)
486
+
486
487
  # To get the final cell orientation after rotation,
487
488
  # you need to use function Rotaion.apply(init_vec),
488
489
  # where init_vec is a vector of the initial orientation of a cell
489
- rots = R.from_euler('xyz', uvw).apply(init_vector.astype(float))
490
- rots = R.from_euler('xyz', pd.DataFrame([rots[:,0],rots[:,1],rots[:,2]]).T).as_rotvec().T
490
+ #rots = R.from_euler('xyz', uvw).apply(init_vector.astype(float))
491
+ #rots = R.from_euler('xyz', pd.DataFrame([rots[:,0],rots[:,1],rots[:,2]]).T).as_rotvec().T
491
492
 
493
+ rots = R.from_euler('zyx', uvw).apply(init_vector.astype(float)).T
492
494
  h = ax.quiver(X, Y, Z, rots[0],rots[1],rots[2],color=color,label=group_name, arrow_length_ratio = arrow_length_ratio, length=quiver_length)
495
+
496
+ #h = ax.quiver(X, Y, Z, rots[0],rots[1],rots[2],color=color,label=group_name, arrow_length_ratio = arrow_length_ratio, length=quiver_length)
493
497
  ax.scatter(X,Y,Z,color=color,label=group_name)
494
498
  handles.append(h)
495
499
  if not handles:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bmtool
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: BMTool
5
5
  Home-page: https://github.com/tjbanks/bmtool
6
6
  Download-URL:
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
6
6
 
7
7
  setup(
8
8
  name="bmtool",
9
- version="0.3.8",
9
+ version="0.3.9",
10
10
  author="Tyler Banks",
11
11
  author_email="tbanks@mail.missouri.edu",
12
12
  description="BMTool",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes