simba-uw-tf-dev 4.6.8__py3-none-any.whl → 4.6.9__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.
- simba/data_processors/freezing_detector.py +5 -1
- simba/video_processors/video_processing.py +1 -1
- {simba_uw_tf_dev-4.6.8.dist-info → simba_uw_tf_dev-4.6.9.dist-info}/METADATA +1 -1
- {simba_uw_tf_dev-4.6.8.dist-info → simba_uw_tf_dev-4.6.9.dist-info}/RECORD +8 -8
- {simba_uw_tf_dev-4.6.8.dist-info → simba_uw_tf_dev-4.6.9.dist-info}/LICENSE +0 -0
- {simba_uw_tf_dev-4.6.8.dist-info → simba_uw_tf_dev-4.6.9.dist-info}/WHEEL +0 -0
- {simba_uw_tf_dev-4.6.8.dist-info → simba_uw_tf_dev-4.6.9.dist-info}/entry_points.txt +0 -0
- {simba_uw_tf_dev-4.6.8.dist-info → simba_uw_tf_dev-4.6.9.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import os
|
|
2
2
|
from typing import Optional, Union
|
|
3
|
+
|
|
3
4
|
import numpy as np
|
|
4
5
|
import pandas as pd
|
|
5
6
|
from numba import typed
|
|
7
|
+
|
|
6
8
|
from simba.mixins.config_reader import ConfigReader
|
|
7
9
|
from simba.mixins.feature_extraction_mixin import FeatureExtractionMixin
|
|
8
10
|
from simba.mixins.timeseries_features_mixin import TimeseriesFeatureMixin
|
|
@@ -12,7 +14,9 @@ from simba.utils.checks import (
|
|
|
12
14
|
from simba.utils.data import detect_bouts, plug_holes_shortest_bout
|
|
13
15
|
from simba.utils.enums import Formats
|
|
14
16
|
from simba.utils.printing import stdout_success
|
|
15
|
-
from simba.utils.read_write import (find_files_of_filetypes_in_directory,
|
|
17
|
+
from simba.utils.read_write import (find_files_of_filetypes_in_directory,
|
|
18
|
+
get_current_time, get_fn_ext, read_df,
|
|
19
|
+
read_video_info)
|
|
16
20
|
|
|
17
21
|
NAPE_X, NAPE_Y = 'nape_x', 'nape_y'
|
|
18
22
|
FREEZING = 'FREEZING'
|
|
@@ -1187,7 +1187,7 @@ def clip_video_in_range(file_path: Union[str, os.PathLike],
|
|
|
1187
1187
|
raise FileExistError(msg=f"SIMBA ERROR: The outfile file already exist: {save_name}.", source=clip_video_in_range.__name__)
|
|
1188
1188
|
|
|
1189
1189
|
if gpu:
|
|
1190
|
-
cmd = f'ffmpeg -hwaccel auto -c:v h264_cuvid -i "{file_path}" -ss {start_time} -to {end_time} -async 1 -rc vbr -cq {quality_crf} "{save_name}" -loglevel error -stats -hide_banner -y'
|
|
1190
|
+
cmd = f'ffmpeg -hwaccel auto -c:v h264_cuvid -i "{file_path}" -ss {start_time} -to {end_time} -async 1 -c:v h264_nvenc -rc vbr -cq {quality_crf} "{save_name}" -loglevel error -stats -hide_banner -y'
|
|
1191
1191
|
else:
|
|
1192
1192
|
cmd = f'ffmpeg -i "{file_path}" -ss {start_time} -to {end_time} -async 1 -c:v {codec} -crf {quality_crf} "{save_name}" -loglevel error -stats -hide_banner -y'
|
|
1193
1193
|
if verbose: print(f"Clipping video {file_name} between {start_time} and {end_time}... ")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: simba-uw-tf-dev
|
|
3
|
-
Version: 4.6.
|
|
3
|
+
Version: 4.6.9
|
|
4
4
|
Summary: Toolkit for computer classification and analysis of behaviors in experimental animals
|
|
5
5
|
Home-page: https://github.com/sgoldenlab/simba
|
|
6
6
|
Author: Simon Nilsson, Jia Jie Choong, Sophia Hwang
|
|
@@ -526,7 +526,7 @@ simba/data_processors/directing_animal_to_bodypart.py,sha256=xsB5jiAUg4sIYBhEyIN
|
|
|
526
526
|
simba/data_processors/directing_other_animals_calculator.py,sha256=Ikif_lPh0RfOj7q5ijMcPGh5kEBLse1P91gaz30UXcs,18234
|
|
527
527
|
simba/data_processors/egocentric_aligner.py,sha256=SwLQiisC66_-HCnB06ei4uYICtf9PKVIXNaoI1MlWr4,13265
|
|
528
528
|
simba/data_processors/find_animal_blob_location.py,sha256=whSxaCSLtRQGZchMBffYSlTI7LIFE7YphNaztmMzMv0,27698
|
|
529
|
-
simba/data_processors/freezing_detector.py,sha256=
|
|
529
|
+
simba/data_processors/freezing_detector.py,sha256=r6ac0z5vJyl2HNL2TvgAX-Jwwujcs4LcIEOE4Tg-7IQ,12167
|
|
530
530
|
simba/data_processors/fsttc_calculator.py,sha256=fW09KZ62GiBNgwEPV1n5SsIImRzPpbiP0yiNeTiexL0,20639
|
|
531
531
|
simba/data_processors/gibbs_sampler.py,sha256=Lj3lJJ0LWYLoeMRU2oniTHJSRpdG8oMIENm7FA4gJ3w,9241
|
|
532
532
|
simba/data_processors/interpolate.py,sha256=GaLvrqS-iVB9TA0eEsCO3dnUCxVD_0KwWqWYZsRlyOM,8006
|
|
@@ -1531,11 +1531,11 @@ simba/video_processors/multi_cropper.py,sha256=1BI0Ami4kB9rdMUHR0EistmIKqc-E5FK5
|
|
|
1531
1531
|
simba/video_processors/roi_selector.py,sha256=5N3s0Bi1Ub6c9gjE_-mV7AWr8Fqg7HQKdBKBF6whurg,8522
|
|
1532
1532
|
simba/video_processors/roi_selector_circle.py,sha256=SD_lv6V3MGiIQd0VtUFSKe83ySW_qvE1t8xsgAlr2hI,6436
|
|
1533
1533
|
simba/video_processors/roi_selector_polygon.py,sha256=DMtilt__gGwNu6VV73CWbnPqrPBXkan1_akUqGEzfGw,6742
|
|
1534
|
-
simba/video_processors/video_processing.py,sha256=
|
|
1534
|
+
simba/video_processors/video_processing.py,sha256=cWkMbUCUHH49lUrzHG_aamgTdZxjHFKEvkWnrjq1f5M,319261
|
|
1535
1535
|
simba/video_processors/videos_to_frames.py,sha256=8hltNZpwUfb3GFi-63D0PsySmD5l59pbzQGJx8SscgU,7818
|
|
1536
|
-
simba_uw_tf_dev-4.6.
|
|
1537
|
-
simba_uw_tf_dev-4.6.
|
|
1538
|
-
simba_uw_tf_dev-4.6.
|
|
1539
|
-
simba_uw_tf_dev-4.6.
|
|
1540
|
-
simba_uw_tf_dev-4.6.
|
|
1541
|
-
simba_uw_tf_dev-4.6.
|
|
1536
|
+
simba_uw_tf_dev-4.6.9.dist-info/LICENSE,sha256=Sjn362upcvYFypam-b-ziOXU1Wl5GGuTt5ICrGimzyA,1720
|
|
1537
|
+
simba_uw_tf_dev-4.6.9.dist-info/METADATA,sha256=7ORRwQdVadLvvAKsKvFU7uZg7myMabWMzM8VJHCFKCg,11432
|
|
1538
|
+
simba_uw_tf_dev-4.6.9.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
1539
|
+
simba_uw_tf_dev-4.6.9.dist-info/entry_points.txt,sha256=Nfh_EbfDGdKftLjCnGWtQrBHENiDYMdgupwLyLpU5dc,44
|
|
1540
|
+
simba_uw_tf_dev-4.6.9.dist-info/top_level.txt,sha256=ogtimvlqDxDTOBAPfT2WaQ2pGAAbKRXG8z8eUTzf6TU,14
|
|
1541
|
+
simba_uw_tf_dev-4.6.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|