xarray-behave 0.37.4__tar.gz → 0.37.5__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.
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/PKG-INFO +4 -3
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/pyproject.toml +1 -1
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/__init__.py +1 -1
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/das_train.yaml +1 -25
- xarray_behave-0.37.4/.github/workflows/test_install.yaml +0 -46
- xarray_behave-0.37.4/.gitignore +0 -128
- xarray_behave-0.37.4/doc/demo.ipynb +0 -1277
- xarray_behave-0.37.4/doc/demo_behavioral_features.ipynb +0 -1720
- xarray_behave-0.37.4/doc/demo_behavioral_features_large_group.ipynb +0 -215
- xarray_behave-0.37.4/doc/ncb.mplstyle +0 -44
- xarray_behave-0.37.4/env/xb.yml +0 -10
- xarray_behave-0.37.4/setup.py +0 -25
- xarray_behave-0.37.4/tests/test_annot.py +0 -141
- xarray_behave-0.37.4/tests/test_assemble.py +0 -118
- xarray_behave-0.37.4/tests/test_assemble_metrics.py +0 -58
- xarray_behave-0.37.4/tests/test_imports.py +0 -9
- xarray_behave-0.37.4/tests/test_io.py +0 -8
- xarray_behave-0.37.4/tests/test_sampstamps.py +0 -34
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/LICENSE +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/README.md +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/annot.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/event_utils.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/__init__.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/app.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/audio_player.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/das.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/formbuilder.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/das_make.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/das_predict.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/envelope_computation.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/export_for_das.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/from_dir.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/from_file.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/from_zarr.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/forms/spec_freq.yaml +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/icon.png +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/table.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/utils.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/view_dialog.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/views.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/gui/widgets.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/__init__.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/annotations.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/annotations_manual.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/audio.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/balltracks.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/movieparams.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/poses.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/samplestamps/__init__.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/samplestamps/samplestamps.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/samplestamps/utils.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/timestamps.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/io/tracks.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/loaders.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/metrics.py +0 -0
- {xarray_behave-0.37.4 → xarray_behave-0.37.5}/src/xarray_behave/xarray_behave.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: xarray-behave
|
|
3
|
-
Version: 0.37.
|
|
3
|
+
Version: 0.37.5
|
|
4
4
|
Summary: xarray tools for behavioral data.
|
|
5
5
|
Author-email: Jan Clemens <clemensjan@googlemail.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -26,7 +26,7 @@ Requires-Dist: soundfile
|
|
|
26
26
|
Requires-Dist: librosa>0.8
|
|
27
27
|
Requires-Dist: opencv-python-headless
|
|
28
28
|
Requires-Dist: pyvideoreader
|
|
29
|
-
Requires-Dist: PySide6-Essentials==6.
|
|
29
|
+
Requires-Dist: PySide6-Essentials==6.10.*
|
|
30
30
|
Requires-Dist: pyqtgraph>0.12.2
|
|
31
31
|
Requires-Dist: qtpy
|
|
32
32
|
Requires-Dist: superqt
|
|
@@ -36,6 +36,7 @@ Requires-Dist: flit ; extra == "dev"
|
|
|
36
36
|
Project-URL: documentation, https://janclemenslab.org/das/
|
|
37
37
|
Project-URL: source, https://github.com/janclemenslab/xarray-behave
|
|
38
38
|
Provides-Extra: dev
|
|
39
|
+
Import-Name: xarray_behave
|
|
39
40
|
|
|
40
41
|
# xarray-behave
|
|
41
42
|
|
|
@@ -158,30 +158,6 @@ main:
|
|
|
158
158
|
help: Reduce learning rate if performance does not improve after patience epochs.
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
- name: morph
|
|
162
|
-
label: Postprocessing with trainable morphological kernels
|
|
163
|
-
type: stacked
|
|
164
|
-
default: "No"
|
|
165
|
-
options: "No,Yes"
|
|
166
|
-
|
|
167
|
-
"No":
|
|
168
|
-
|
|
169
|
-
"Yes":
|
|
170
|
-
- type: text
|
|
171
|
-
text: 'Clean up predictions using trainable kernels for opening and closing operations.'
|
|
172
|
-
|
|
173
|
-
- name: morph_nb_kernels
|
|
174
|
-
label: Number of morphological kernels
|
|
175
|
-
type: int
|
|
176
|
-
default: 1
|
|
177
|
-
range: 0, 100
|
|
178
|
-
- name: morph_kernel_duration
|
|
179
|
-
label: Duration of morphological kernels (samples)
|
|
180
|
-
type: int
|
|
181
|
-
default: 32
|
|
182
|
-
range: 1,1000
|
|
183
|
-
|
|
184
|
-
|
|
185
161
|
- name: postopt
|
|
186
162
|
label: Optimize postprocessing
|
|
187
163
|
type: stacked
|
|
@@ -285,4 +261,4 @@ main:
|
|
|
285
261
|
- name: train
|
|
286
262
|
label: Start training in GUI
|
|
287
263
|
type: button
|
|
288
|
-
default: main action
|
|
264
|
+
default: main action
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
name: Test install
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
release:
|
|
5
|
-
types:
|
|
6
|
-
- published
|
|
7
|
-
workflow_dispatch:
|
|
8
|
-
inputs:
|
|
9
|
-
logLevel:
|
|
10
|
-
description: 'Log level'
|
|
11
|
-
required: true
|
|
12
|
-
default: 'warning'
|
|
13
|
-
tags:
|
|
14
|
-
description: 'manual run'
|
|
15
|
-
|
|
16
|
-
jobs:
|
|
17
|
-
test:
|
|
18
|
-
runs-on: ${{ matrix.os }}
|
|
19
|
-
strategy:
|
|
20
|
-
fail-fast: False
|
|
21
|
-
matrix:
|
|
22
|
-
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
23
|
-
defaults: # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell
|
|
24
|
-
run:
|
|
25
|
-
shell: bash -l {0}
|
|
26
|
-
steps:
|
|
27
|
-
- uses: actions/checkout@v4
|
|
28
|
-
- name: Setup miniconda # https://github.com/marketplace/actions/setup-miniconda
|
|
29
|
-
uses: conda-incubator/setup-miniconda@v3
|
|
30
|
-
with:
|
|
31
|
-
auto-update-conda: true
|
|
32
|
-
auto-activate-base: true
|
|
33
|
-
channels: conda-forge
|
|
34
|
-
python-version: 3.13
|
|
35
|
-
- name: Install OpenGL dependencies
|
|
36
|
-
run: sudo apt-get update && sudo apt-get install -qq -y libx11-dev libgl1-mesa-dev libxkbcommon-x11-0
|
|
37
|
-
if: runner.os == 'Linux'
|
|
38
|
-
- name: Test
|
|
39
|
-
run: |
|
|
40
|
-
conda env create -n xb_test -y -f https://raw.githubusercontent.com/janclemenslab/xarray-behave/refs/heads/master/env/xb.yml
|
|
41
|
-
conda activate xb_test
|
|
42
|
-
python -c "import xarray_behave; print(xarray_behave.__version__)"
|
|
43
|
-
python -c "import xarray_behave.gui.app"
|
|
44
|
-
python tests/test_imports.py
|
|
45
|
-
python tests/test_io.py
|
|
46
|
-
python tests/test_sampstamps.py
|
xarray_behave-0.37.4/.gitignore
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# Byte-compiled / optimized / DLL files
|
|
2
|
-
__pycache__/
|
|
3
|
-
*.py[cod]
|
|
4
|
-
*$py.class
|
|
5
|
-
|
|
6
|
-
# C extensions
|
|
7
|
-
*.so
|
|
8
|
-
|
|
9
|
-
# Distribution / packaging
|
|
10
|
-
.Python
|
|
11
|
-
build/
|
|
12
|
-
develop-eggs/
|
|
13
|
-
dist/
|
|
14
|
-
downloads/
|
|
15
|
-
eggs/
|
|
16
|
-
.eggs/
|
|
17
|
-
lib/
|
|
18
|
-
lib64/
|
|
19
|
-
parts/
|
|
20
|
-
sdist/
|
|
21
|
-
var/
|
|
22
|
-
wheels/
|
|
23
|
-
*.egg-info/
|
|
24
|
-
.installed.cfg
|
|
25
|
-
*.egg
|
|
26
|
-
MANIFEST
|
|
27
|
-
|
|
28
|
-
# PyInstaller
|
|
29
|
-
# Usually these files are written by a python script from a template
|
|
30
|
-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
31
|
-
*.manifest
|
|
32
|
-
*.spec
|
|
33
|
-
|
|
34
|
-
# Installer logs
|
|
35
|
-
pip-log.txt
|
|
36
|
-
pip-delete-this-directory.txt
|
|
37
|
-
|
|
38
|
-
# Unit test / coverage reports
|
|
39
|
-
htmlcov/
|
|
40
|
-
.tox/
|
|
41
|
-
.coverage
|
|
42
|
-
.coverage.*
|
|
43
|
-
.cache
|
|
44
|
-
nosetests.xml
|
|
45
|
-
coverage.xml
|
|
46
|
-
*.cover
|
|
47
|
-
.hypothesis/
|
|
48
|
-
.pytest_cache/
|
|
49
|
-
|
|
50
|
-
# Translations
|
|
51
|
-
*.mo
|
|
52
|
-
*.pot
|
|
53
|
-
|
|
54
|
-
# Django stuff:
|
|
55
|
-
*.log
|
|
56
|
-
local_settings.py
|
|
57
|
-
db.sqlite3
|
|
58
|
-
|
|
59
|
-
# Flask stuff:
|
|
60
|
-
instance/
|
|
61
|
-
.webassets-cache
|
|
62
|
-
|
|
63
|
-
# Scrapy stuff:
|
|
64
|
-
.scrapy
|
|
65
|
-
|
|
66
|
-
# Sphinx documentation
|
|
67
|
-
|
|
68
|
-
# PyBuilder
|
|
69
|
-
target/
|
|
70
|
-
|
|
71
|
-
# Jupyter Notebook
|
|
72
|
-
.ipynb_checkpoints
|
|
73
|
-
|
|
74
|
-
# pyenv
|
|
75
|
-
.python-version
|
|
76
|
-
|
|
77
|
-
# celery beat schedule file
|
|
78
|
-
celerybeat-schedule
|
|
79
|
-
|
|
80
|
-
# SageMath parsed files
|
|
81
|
-
*.sage.py
|
|
82
|
-
|
|
83
|
-
# Environments
|
|
84
|
-
.env
|
|
85
|
-
.venv
|
|
86
|
-
env/
|
|
87
|
-
venv/
|
|
88
|
-
ENV/
|
|
89
|
-
env.bak/
|
|
90
|
-
venv.bak/
|
|
91
|
-
|
|
92
|
-
# Spyder project settings
|
|
93
|
-
.spyderproject
|
|
94
|
-
.spyproject
|
|
95
|
-
|
|
96
|
-
# Rope project settings
|
|
97
|
-
.ropeproject
|
|
98
|
-
|
|
99
|
-
# mkdocs documentation
|
|
100
|
-
/site
|
|
101
|
-
|
|
102
|
-
# mypy
|
|
103
|
-
.mypy_cache/
|
|
104
|
-
|
|
105
|
-
# MATLAB
|
|
106
|
-
*.asv
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
# LEAP-specific
|
|
110
|
-
dat/*
|
|
111
|
-
dat.*/
|
|
112
|
-
res*
|
|
113
|
-
fig*
|
|
114
|
-
*.err
|
|
115
|
-
*.out
|
|
116
|
-
|
|
117
|
-
/*
|
|
118
|
-
/*/
|
|
119
|
-
!/src/
|
|
120
|
-
!/tests/
|
|
121
|
-
!/env/
|
|
122
|
-
!/docs/
|
|
123
|
-
!/*.toml
|
|
124
|
-
!/.github
|
|
125
|
-
!/conda
|
|
126
|
-
/src/*.egg-info/
|
|
127
|
-
/src/*.egg-info
|
|
128
|
-
/tests/data
|