sl-shared-assets 3.0.0rc11__py3-none-any.whl → 3.0.0rc13__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.
Potentially problematic release.
This version of sl-shared-assets might be problematic. Click here for more details.
- sl_shared_assets/__init__.py +2 -0
- sl_shared_assets/__init__.pyi +2 -0
- sl_shared_assets/data_classes/__init__.py +2 -0
- sl_shared_assets/data_classes/__init__.pyi +2 -0
- sl_shared_assets/data_classes/runtime_data.py +5 -3
- sl_shared_assets/data_classes/runtime_data.pyi +1 -0
- sl_shared_assets/data_classes/session_data.py +4 -0
- {sl_shared_assets-3.0.0rc11.dist-info → sl_shared_assets-3.0.0rc13.dist-info}/METADATA +1 -1
- {sl_shared_assets-3.0.0rc11.dist-info → sl_shared_assets-3.0.0rc13.dist-info}/RECORD +12 -12
- {sl_shared_assets-3.0.0rc11.dist-info → sl_shared_assets-3.0.0rc13.dist-info}/WHEEL +0 -0
- {sl_shared_assets-3.0.0rc11.dist-info → sl_shared_assets-3.0.0rc13.dist-info}/entry_points.txt +0 -0
- {sl_shared_assets-3.0.0rc11.dist-info → sl_shared_assets-3.0.0rc13.dist-info}/licenses/LICENSE +0 -0
sl_shared_assets/__init__.py
CHANGED
|
@@ -35,6 +35,7 @@ from .data_classes import (
|
|
|
35
35
|
RunTrainingDescriptor,
|
|
36
36
|
LickTrainingDescriptor,
|
|
37
37
|
MesoscopeHardwareState,
|
|
38
|
+
WindowCheckingDescriptor,
|
|
38
39
|
MesoscopeMicroControllers,
|
|
39
40
|
MesoscopeAdditionalFirmware,
|
|
40
41
|
MesoscopeSystemConfiguration,
|
|
@@ -83,6 +84,7 @@ __all__ = [
|
|
|
83
84
|
"ExperimentTrial",
|
|
84
85
|
"SessionTypes",
|
|
85
86
|
"AcquisitionSystems",
|
|
87
|
+
"WindowCheckingDescriptor",
|
|
86
88
|
# Tools package
|
|
87
89
|
"resolve_p53_marker",
|
|
88
90
|
"transfer_directory",
|
sl_shared_assets/__init__.pyi
CHANGED
|
@@ -31,6 +31,7 @@ from .data_classes import (
|
|
|
31
31
|
RunTrainingDescriptor as RunTrainingDescriptor,
|
|
32
32
|
LickTrainingDescriptor as LickTrainingDescriptor,
|
|
33
33
|
MesoscopeHardwareState as MesoscopeHardwareState,
|
|
34
|
+
WindowCheckingDescriptor as WindowCheckingDescriptor,
|
|
34
35
|
MesoscopeMicroControllers as MesoscopeMicroControllers,
|
|
35
36
|
MesoscopeAdditionalFirmware as MesoscopeAdditionalFirmware,
|
|
36
37
|
MesoscopeSystemConfiguration as MesoscopeSystemConfiguration,
|
|
@@ -73,6 +74,7 @@ __all__ = [
|
|
|
73
74
|
"ExperimentTrial",
|
|
74
75
|
"SessionTypes",
|
|
75
76
|
"AcquisitionSystems",
|
|
77
|
+
"WindowCheckingDescriptor",
|
|
76
78
|
"resolve_p53_marker",
|
|
77
79
|
"transfer_directory",
|
|
78
80
|
"calculate_directory_checksum",
|
|
@@ -9,6 +9,7 @@ from .runtime_data import (
|
|
|
9
9
|
RunTrainingDescriptor,
|
|
10
10
|
LickTrainingDescriptor,
|
|
11
11
|
MesoscopeHardwareState,
|
|
12
|
+
WindowCheckingDescriptor,
|
|
12
13
|
MesoscopeExperimentDescriptor,
|
|
13
14
|
)
|
|
14
15
|
from .session_data import RawData, SessionData, SessionTypes, ProcessedData, ProcessingTracker
|
|
@@ -63,4 +64,5 @@ __all__ = [
|
|
|
63
64
|
"ExperimentTrial",
|
|
64
65
|
"AcquisitionSystems",
|
|
65
66
|
"SessionTypes",
|
|
67
|
+
"WindowCheckingDescriptor",
|
|
66
68
|
]
|
|
@@ -4,6 +4,7 @@ from .runtime_data import (
|
|
|
4
4
|
RunTrainingDescriptor as RunTrainingDescriptor,
|
|
5
5
|
LickTrainingDescriptor as LickTrainingDescriptor,
|
|
6
6
|
MesoscopeHardwareState as MesoscopeHardwareState,
|
|
7
|
+
WindowCheckingDescriptor as WindowCheckingDescriptor,
|
|
7
8
|
MesoscopeExperimentDescriptor as MesoscopeExperimentDescriptor,
|
|
8
9
|
)
|
|
9
10
|
from .session_data import (
|
|
@@ -64,4 +65,5 @@ __all__ = [
|
|
|
64
65
|
"ExperimentTrial",
|
|
65
66
|
"AcquisitionSystems",
|
|
66
67
|
"SessionTypes",
|
|
68
|
+
"WindowCheckingDescriptor",
|
|
67
69
|
]
|
|
@@ -257,13 +257,13 @@ class MesoscopePositions(YamlConfig):
|
|
|
257
257
|
"""
|
|
258
258
|
|
|
259
259
|
mesoscope_x: float = 0.0
|
|
260
|
-
"""The Mesoscope objective X-axis position, in
|
|
260
|
+
"""The Mesoscope objective X-axis position, in micrometers."""
|
|
261
261
|
mesoscope_y: float = 0.0
|
|
262
|
-
"""The Mesoscope objective Y-axis position, in
|
|
262
|
+
"""The Mesoscope objective Y-axis position, in micrometers."""
|
|
263
263
|
mesoscope_roll: float = 0.0
|
|
264
264
|
"""The Mesoscope objective Roll-axis position, in degrees."""
|
|
265
265
|
mesoscope_z: float = 0.0
|
|
266
|
-
"""The Mesoscope objective Z-axis position, in
|
|
266
|
+
"""The Mesoscope objective Z-axis position, in micrometers."""
|
|
267
267
|
mesoscope_fast_z: float = 0.0
|
|
268
268
|
"""The ScanImage FastZ (virtual Z-axis) position, in micrometers."""
|
|
269
269
|
mesoscope_tip: float = 0.0
|
|
@@ -272,3 +272,5 @@ class MesoscopePositions(YamlConfig):
|
|
|
272
272
|
"""The ScanImage Tip position, in degrees."""
|
|
273
273
|
laser_power_mw: float = 0.0
|
|
274
274
|
"""The laser excitation power at the sample, in milliwatts."""
|
|
275
|
+
red_dot_alignment_z: float = 0.0
|
|
276
|
+
"""The Mesoscope objective Z-axis position, in micrometers, used for red-dot alignment procedure."""
|
|
@@ -553,6 +553,10 @@ class SessionData(YamlConfig):
|
|
|
553
553
|
origin.raw_data = None # type: ignore
|
|
554
554
|
origin.processed_data = None # type: ignore
|
|
555
555
|
|
|
556
|
+
# Converts StringEnum instances to strings
|
|
557
|
+
origin.session_type = str(origin.session_type)
|
|
558
|
+
origin.animal_id = str(origin.acquisition_system)
|
|
559
|
+
|
|
556
560
|
# Saves instance data as a .YAML file
|
|
557
561
|
origin.to_yaml(file_path=self.raw_data.session_data_path)
|
|
558
562
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sl-shared-assets
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0rc13
|
|
4
4
|
Summary: Provides data acquisition and processing assets shared between Sun (NeuroAI) lab libraries.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Sun-Lab-NBB/sl-shared-assets
|
|
6
6
|
Project-URL: Documentation, https://sl-shared-assets-api-docs.netlify.app/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
sl_shared_assets/__init__.py,sha256=
|
|
2
|
-
sl_shared_assets/__init__.pyi,sha256=
|
|
1
|
+
sl_shared_assets/__init__.py,sha256=rCu1VYs2Lc1l0jqHO3UtfuymU0uY2ccxEn4UyscIut8,2347
|
|
2
|
+
sl_shared_assets/__init__.pyi,sha256=WCWIS-I3ToP4XybNZAi3fA7j2CZ48dl9D-fmd7oZKCo,2615
|
|
3
3
|
sl_shared_assets/cli.py,sha256=R_h_Dlla48mG1LpFDDE9flZ_NyDC9UguRUAYZL6gA9s,18383
|
|
4
4
|
sl_shared_assets/cli.pyi,sha256=8ZJK56_jh2QlF3XCN6c7fI6Z022XtehB0eCrQDJbAsU,5515
|
|
5
5
|
sl_shared_assets/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
sl_shared_assets/data_classes/__init__.py,sha256=
|
|
7
|
-
sl_shared_assets/data_classes/__init__.pyi,sha256=
|
|
6
|
+
sl_shared_assets/data_classes/__init__.py,sha256=bdm0hyQpNF0RL2SPhUgaOz33FsRzpM2L_z5-91HyZBE,1998
|
|
7
|
+
sl_shared_assets/data_classes/__init__.pyi,sha256=J7ZCH9qQ4qz-3Wq9ILdihlmK9zFR3iU1cpLcSaN45Y8,2238
|
|
8
8
|
sl_shared_assets/data_classes/configuration_data.py,sha256=HAdYUVy_8gg_ECN56RAEih9UB7DoZ4J3S5a8ky8o4dQ,36076
|
|
9
9
|
sl_shared_assets/data_classes/configuration_data.pyi,sha256=11Q6OJjN6PdrlZwVPYCL4TEGxkbKL7mGb2S1sSMKsqs,11027
|
|
10
|
-
sl_shared_assets/data_classes/runtime_data.py,sha256=
|
|
11
|
-
sl_shared_assets/data_classes/runtime_data.pyi,sha256=
|
|
12
|
-
sl_shared_assets/data_classes/session_data.py,sha256=
|
|
10
|
+
sl_shared_assets/data_classes/runtime_data.py,sha256=MLIef6s9n2gG6sbp197gpFfzb05e_8vwVzyS_oSmXYQ,16722
|
|
11
|
+
sl_shared_assets/data_classes/runtime_data.pyi,sha256=LzNuEWu-GlPGdyyi8Hn2OFUjGCWOaOplKsRQBbjn2vQ,6768
|
|
12
|
+
sl_shared_assets/data_classes/session_data.py,sha256=njylTcnK_MJne3k3ZeGt_1bQQHN8vhGmiKnu2pUo06Q,48228
|
|
13
13
|
sl_shared_assets/data_classes/session_data.pyi,sha256=g53jIe-v8VkQJHc7ITS0KBGRhzn6LOIb6f96SEbEGig,15898
|
|
14
14
|
sl_shared_assets/data_classes/surgery_data.py,sha256=5B1OPKFq4bnzbAoe-_c5dFV3kbSD5YFzXbX2zXmfGs8,7485
|
|
15
15
|
sl_shared_assets/data_classes/surgery_data.pyi,sha256=rf59lJ3tGSYKHQlEGXg75MnjajBwl0DYhL4TClAO4SM,2605
|
|
@@ -29,8 +29,8 @@ sl_shared_assets/tools/project_management_tools.py,sha256=Z_U0R26w9Le1O-u66gyF5C
|
|
|
29
29
|
sl_shared_assets/tools/project_management_tools.pyi,sha256=4kok98nOZ4KnT-Sg-ZCZYg-WIM5qZqiyK8g1XiiDjHM,10375
|
|
30
30
|
sl_shared_assets/tools/transfer_tools.py,sha256=J26kwOp_NpPSY0-xu5FTw9udte-rm_mW1FJyaTNoqQI,6606
|
|
31
31
|
sl_shared_assets/tools/transfer_tools.pyi,sha256=FoH7eYZe7guGHfPr0MK5ggO62uXKwD2aJ7h1Bu7PaEE,3294
|
|
32
|
-
sl_shared_assets-3.0.
|
|
33
|
-
sl_shared_assets-3.0.
|
|
34
|
-
sl_shared_assets-3.0.
|
|
35
|
-
sl_shared_assets-3.0.
|
|
36
|
-
sl_shared_assets-3.0.
|
|
32
|
+
sl_shared_assets-3.0.0rc13.dist-info/METADATA,sha256=oNild5LbOuYMHqk6goJETY4V7VzNOuYV2KBIMzRV0eg,49214
|
|
33
|
+
sl_shared_assets-3.0.0rc13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
34
|
+
sl_shared_assets-3.0.0rc13.dist-info/entry_points.txt,sha256=UmO1rl7ly9N7HWPwWyP9E0b5KBUStpBo4TRoqNtizDY,430
|
|
35
|
+
sl_shared_assets-3.0.0rc13.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
36
|
+
sl_shared_assets-3.0.0rc13.dist-info/RECORD,,
|
|
File without changes
|
{sl_shared_assets-3.0.0rc11.dist-info → sl_shared_assets-3.0.0rc13.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{sl_shared_assets-3.0.0rc11.dist-info → sl_shared_assets-3.0.0rc13.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|