diff --git a/README.md b/README.md index 6756bbc2..4caaf71f 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,8 @@ Development, 5 April 2018, [doi: 10.1242/dev.154856](http://dev.biologists.org/c Front. Netw. Physiol. 1:802881, [doi: 10.3389/fnetp.2021.802881](https://www.frontiersin.org/articles/10.3389/fnetp.2021.802881/full). - J. Klatzow, G. Dalmasso, N. Martínez-Abadías, J. Sharpe, V. Uhlmann, *"µMatch: 3D shape correspondence for microscopy data"*, in preparation. -- G. Dalmasso *et al.*, *"4D reconstruction of developmental trajectories using spherical harmonics"*, bioRxiv 2021.12.16.472948: [](https://doi.org/10.1101/2021.12.16.472948). +- G. Dalmasso *et al.*, *"4D reconstruction of developmental trajectories using spherical harmonics"*, +bioRxiv 2021.12.16.472948: [doi](https://doi.org/10.1101/2021.12.16.472948). **Have you found this software useful for your research? Star ✨ the project and cite it as:** diff --git a/tests/common/test_actors.py b/tests/common/test_actors.py index cb4780ec..948e715e 100644 --- a/tests/common/test_actors.py +++ b/tests/common/test_actors.py @@ -212,16 +212,21 @@ ###################################### averageSize -print('averageSize',sphere.averageSize()) -assert 0.9 < sphere.averageSize() < 1.0 +print('averageSize', Sphere().scale(10).pos(1,3,7).averageSize()) +assert 9.9 < Sphere().scale(10).pos(1,3,7).averageSize() < 10.1 + print('diagonalSize',sphere.diagonalSize()) assert 3.3 < sphere.diagonalSize() < 3.5 + print('maxBoundSize',sphere.maxBoundSize()) assert 1.9 < sphere.maxBoundSize() < 2.1 + print('centerOfMass',sphere.centerOfMass()) assert np.allclose(sphere.centerOfMass(), [0,0,0]) + print('volume',sphere.volume()) assert 4.1 < sphere.volume() < 4.2 + print('area',sphere.area()) assert 12.5 < sphere.area() < 12.6 diff --git a/vedo/version.py b/vedo/version.py index 0ac36370..06b12394 100644 --- a/vedo/version.py +++ b/vedo/version.py @@ -1 +1 @@ -_version='2022.0.1.dev8' +_version='2022.1.0'