cellects 0.2.7__py3-none-any.whl → 0.3.0__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.
@@ -744,7 +744,7 @@ def get_contour_width_from_im_shape(im_shape: Tuple) -> int:
744
744
  int
745
745
  The calculated contour width.
746
746
  """
747
- return np.max((np.round(np.log10(np.max(im_shape)) - 2).astype(int), 1))
747
+ return np.max((np.round(np.log10(np.max(im_shape)) - 2).astype(int), 2))
748
748
 
749
749
  def scale_coordinates(coord: NDArray, scale: Tuple, dims: Tuple) -> Tuple[NDArray[np.int64], np.int64, np.int64, np.int64, np.int64]:
750
750
  """
@@ -798,3 +798,5 @@ def scale_coordinates(coord: NDArray, scale: Tuple, dims: Tuple) -> Tuple[NDArra
798
798
  min_x = np.max((0, np.min(coord[:, 1])))
799
799
  max_x = np.min((dims[1], np.max(coord[:, 1])))
800
800
  return coord, min_y, max_y, min_x, max_x
801
+
802
+
@@ -672,7 +672,7 @@ def read_rotate_crop_and_reduce_image(image_name: str, prev_img: NDArray, crop_c
672
672
  prev_img = img.copy()
673
673
  if crop_coord is not None:
674
674
  img = img[crop_coord[0]:crop_coord[1], crop_coord[2]:crop_coord[3], :]
675
- img = img[cr[0]:(cr[1] + 1), cr[2]:(cr[3] + 1), :]
675
+ img = img[cr[0]:cr[1], cr[2]:cr[3], :]
676
676
  if reduce_image_dim:
677
677
  img = img[:, :, 0]
678
678
  return img, prev_img
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cellects
3
- Version: 0.2.7
3
+ Version: 0.3.0
4
4
  Summary: Cell Expansion Computer Tracking Software.
5
5
  Author: Aurèle Boussard
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -4,41 +4,41 @@ cellects/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  cellects/config/all_vars_dict.py,sha256=Vdu0JoIqwY6QPa8z_DDiZd5QTEdIhPkSvGDjyzX5GTU,6249
5
5
  cellects/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  cellects/core/cellects_paths.py,sha256=vwFEYXVAD16w0euoTuJ8Ca0tUyelsoiDNmWqryU5k-k,880
7
- cellects/core/cellects_threads.py,sha256=I3k-k7w4rnPHeJe-0furBzU6I4gBCZrFgiNWX477EOA,105390
8
- cellects/core/motion_analysis.py,sha256=R9a_ZL4qcj3pO3OlMSU6iTBCX9TggCMKaSIJBq9nkdc,97841
9
- cellects/core/one_image_analysis.py,sha256=YghJIVNjZLiTAsnNSxBQ8w_m5Xq5kfhQHyA-anrjqKQ,67361
10
- cellects/core/program_organizer.py,sha256=Quo34VH1qqeb6gmXw6TEil40gd80eRYB5xigL_8zUCg,89175
11
- cellects/core/script_based_run.py,sha256=00TecfdIseY7GuB63Vwpc1O2DcdLjn5F-SldcRPPoAM,7559
7
+ cellects/core/cellects_threads.py,sha256=YRitz7JY5TVq9BSrqU3S8K-srW9gsFfkG16G3zVF--Y,96014
8
+ cellects/core/motion_analysis.py,sha256=F2TpebmmvAgH0cY-P2J4CjqDxb_uB1BbAZlGcrGvVPI,99711
9
+ cellects/core/one_image_analysis.py,sha256=Z5ztSmiRUeaJHGiTVPFOS_XbMtcjoER72g72Pa4_ziM,43557
10
+ cellects/core/program_organizer.py,sha256=mJlznRrgMWxnPdAbrrkLtYQVhisvc4_WihpKSFIkDPA,92383
11
+ cellects/core/script_based_run.py,sha256=EIGPK_pnyHLwExvCgM9C44LFOle9KKp_sRl0da4fA3o,7017
12
12
  cellects/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  cellects/gui/advanced_parameters.py,sha256=8lpXsSrLr7JZ0PUsl2rslddwU4KSNqWjmqUd68_u1Ng,77321
14
14
  cellects/gui/cellects.py,sha256=KpCOL1j3sBVcqp5l2epNc28knekGGLUYiLZ3XmEw5BE,8325
15
15
  cellects/gui/custom_widgets.py,sha256=tSB8sIPCJ8B10eTNrfj1iKoztSQS0iYX2WjYjGpI88o,34257
16
- cellects/gui/first_window.py,sha256=HZ_4ZmDMpDbNdEa-KVlMINKVqXyWGIZI7GYFcdLm0E8,28439
16
+ cellects/gui/first_window.py,sha256=_uYruDNS2FTBMD-T4wUsUJjN6O3uJ_dI_Mf706Zrroo,28585
17
17
  cellects/gui/if_several_folders_window.py,sha256=9KcnWxzURtxS6ViyoWZVJ7dFBlH4XcRCCsWuL1v4L-c,13803
18
- cellects/gui/image_analysis_window.py,sha256=UDIRp20LcX-ORnyufJzGxcH-CW9XvasmVd3Kt0bKBm8,130692
18
+ cellects/gui/image_analysis_window.py,sha256=DVd0b7IswiFyQIp3KxAWMreJoKQLBJ0r3QYEMFzSsvE,131348
19
19
  cellects/gui/required_output.py,sha256=ib3jXSzRuRzE_yU_ZNkrimCcq6NjAukz088T2Zgl95c,13654
20
- cellects/gui/ui_strings.py,sha256=ifkBJqHzitpTXEyMG_zp4sijPLLudSL2ot5DSn7FMdg,31116
20
+ cellects/gui/ui_strings.py,sha256=_IdMR7Xalk6-USEQ3zNcUmFE04Tmf8QneLzvKs3rEOM,31181
21
21
  cellects/gui/video_analysis_window.py,sha256=hxIqEWKisJSV3tnceFQfVXkjmC_AuARCcqMZ5ucmGIQ,43340
22
22
  cellects/icons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  cellects/icons/cellects_icon.icns,sha256=3GM5rpVKUoy-gAYEee5gGPh9lQx9KZqh9iRqYCT83Aw,393392
24
24
  cellects/icons/cellects_icon.ico,sha256=Eqlci8zZ0zdsRh2kSQAu4aHAPbR2NEzSbJPgaRQNenI,208076
25
25
  cellects/image_analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  cellects/image_analysis/cell_leaving_detection.py,sha256=LtwLrjGXUVU6lBspSr3yN5UApun4-v4A23VBcP2A2ZU,5317
27
- cellects/image_analysis/image_segmentation.py,sha256=6ighRFLmCewnCOk-RFJDjMMh92Jo0se0K1P5g4okhEg,48876
28
- cellects/image_analysis/morphological_operations.py,sha256=M0uK3C1h0OH-SuE-hNJzJsK7RhHBNhlKBeAITOIVKkg,91452
27
+ cellects/image_analysis/image_segmentation.py,sha256=QuoSQ01WM_4hS_QRFWkdpubSUU82attxZ-Ax4n9wirM,47095
28
+ cellects/image_analysis/morphological_operations.py,sha256=ATkqIixqyTPl4ohp7siSjMJx-ep6s2-uibd_QzOIYhw,91380
29
29
  cellects/image_analysis/network_functions.py,sha256=QHBU09U8My3IQqzDhxcK9t6ZDhxhCac2mt5N1JwEfCI,107499
30
- cellects/image_analysis/one_image_analysis_threads.py,sha256=4mE6MTF1I9y3SIYQgZ1nj4b4DqJ5-BnwGqdQIVZvlpk,11607
30
+ cellects/image_analysis/one_image_analysis_threads.py,sha256=Spq_LyGiVE4IhsnU8h0DS03c_Y_xHSeCzK2vPvyeah8,17675
31
31
  cellects/image_analysis/oscillations_functions.py,sha256=87dZAEVf4jzyVfM5_iFVsuUOJPxZ5gXSHsZsH3A7n7A,6853
32
32
  cellects/image_analysis/progressively_add_distant_shapes.py,sha256=WTIW0JZBPiVmnwP_vG18bp6BPRCsr0JPdGd1SEdUPUU,25719
33
- cellects/image_analysis/shape_descriptors.py,sha256=vuQvUGbajPG9VPxzgadmeBCLd2srBLRpaaebjdz8P1c,42995
33
+ cellects/image_analysis/shape_descriptors.py,sha256=L9r4-Y-n4_k4hL1FpDbE1Plgo9Lq25sGkoZ4Lt9CnMY,41964
34
34
  cellects/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  cellects/utils/decorators.py,sha256=kjZWSK71l5-LrrH7BZHb0kdFaAikC_qZu14_KjIUCms,361
36
- cellects/utils/formulas.py,sha256=xFURq95YpgQ42uPo41U7vj0iywcJq0fh5KjgFa8vvqo,25283
37
- cellects/utils/load_display_save.py,sha256=SxeEN4IVG-KA2BopsLH_ZI4OA9RQxNd8KiLLAnGW3ig,48981
36
+ cellects/utils/formulas.py,sha256=C-koFJpqt42fUe4pfNO-5tzZqyEV90MyqmULt9CIYs8,25287
37
+ cellects/utils/load_display_save.py,sha256=ZlqB7LFGrTphWCZBVDex0_ISZV4q3Xsmc9q_jyxVqSI,48969
38
38
  cellects/utils/utilitarian.py,sha256=mwGWUgrnaO_2Lne485cp0MxsCxtK68whK9O2fAJ725E,19735
39
- cellects-0.2.7.dist-info/LICENSE,sha256=RkNnEPPAi068Hv0ST1RwdKOi_Mc6Ukik5twIYPLWXjw,35176
40
- cellects-0.2.7.dist-info/METADATA,sha256=E6pv5ijYzhtFyZd7o4-j4_v6-qwzvqJpCcfrYmU5JAc,46231
41
- cellects-0.2.7.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
42
- cellects-0.2.7.dist-info/entry_points.txt,sha256=JT6rEvKpUuKyDPvfOYma-IMQNvfnKMstFMAoVJhXIGc,60
43
- cellects-0.2.7.dist-info/top_level.txt,sha256=8VlvCH4ka3bqugIpQnOVjc3UV9Vavfx5SXNyUV9_lGw,9
44
- cellects-0.2.7.dist-info/RECORD,,
39
+ cellects-0.3.0.dist-info/LICENSE,sha256=RkNnEPPAi068Hv0ST1RwdKOi_Mc6Ukik5twIYPLWXjw,35176
40
+ cellects-0.3.0.dist-info/METADATA,sha256=3XOypkc8hkgI-UwSyW6TDiwpKzsAhVGnBg1inIy__Fs,46231
41
+ cellects-0.3.0.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
42
+ cellects-0.3.0.dist-info/entry_points.txt,sha256=JT6rEvKpUuKyDPvfOYma-IMQNvfnKMstFMAoVJhXIGc,60
43
+ cellects-0.3.0.dist-info/top_level.txt,sha256=8VlvCH4ka3bqugIpQnOVjc3UV9Vavfx5SXNyUV9_lGw,9
44
+ cellects-0.3.0.dist-info/RECORD,,