SleePyPhases 0.6.1__tar.gz → 0.6.2__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.
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/PKG-INFO +1 -1
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/ExtractFeatures.py +5 -4
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases.egg-info/PKG-INFO +1 -1
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/setup.py +1 -1
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/LICENSE +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/README.md +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/DataManipulation.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/EventScorer.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/FeatureExtraction.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/MultiScorer.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/Plot.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/Plugin.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/PreManipulation.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/RecordFeatureExtraction.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/Reporter.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/SignalPreprocessing.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/SleepMetaData.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/__init__.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/BuildDataset.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/DataAnalysis.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/DataReport.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/Eval.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/EvalPlotExamples.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/EvalReport.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/ExportMetadataToMeticalDB.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/Extract.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/ExtractEvents.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/ExtractRecordFeatures.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/GatherMetadata.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/LogCleanup.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/LogOverview.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/Predict.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/Setup.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/TestRun.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/ThresholdOptimisation.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/Training.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/Validation.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/VisualizeConfig.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases/phases/__init__.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases.egg-info/SOURCES.txt +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases.egg-info/dependency_links.txt +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases.egg-info/requires.txt +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/SleePyPhases.egg-info/top_level.txt +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/pyproject.toml +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/setup.cfg +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/__init__.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/conftest.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/__init__.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_BuildDataset.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_BuildDatasetFolded.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_BuildDatasetSegments.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_DataManipulation.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_Eval.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_EventScorer.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_Extract.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_PreManipulation.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_RecordFeatureExtraction.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_RecordProcessor.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_Setup.py +0 -0
- {sleepyphases-0.6.1 → sleepyphases-0.6.2}/tests/unit/test_SignalPreprocessing.py +0 -0
|
@@ -166,7 +166,7 @@ class ExtractFeatures(Phase):
|
|
|
166
166
|
featureConfigs = self.getConfig("featureExtraction.features", [])
|
|
167
167
|
if featureNameDict != {}:
|
|
168
168
|
featureNames = list(featureNameDict.keys())
|
|
169
|
-
featureConfigs = [f for f in featureConfigs if f["name"] in featureNames]
|
|
169
|
+
featureConfigs = [f for f in featureConfigs if f["name"] + "_checked" in featureNames]
|
|
170
170
|
|
|
171
171
|
recordLoader = RecordLoader.get()
|
|
172
172
|
recordSignal = None
|
|
@@ -181,9 +181,10 @@ class ExtractFeatures(Phase):
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
for featureConfig in featureConfigs:
|
|
184
|
+
checkedCol = featureConfig["name"] + "_checked"
|
|
184
185
|
if recordSignal is None:
|
|
185
186
|
self.features.loc[recordId, "recordId"] = recordId
|
|
186
|
-
self.features.loc[recordId,
|
|
187
|
+
self.features.loc[recordId, checkedCol] = True
|
|
187
188
|
self.registerData("features", self.features)
|
|
188
189
|
return {}
|
|
189
190
|
|
|
@@ -198,7 +199,7 @@ class ExtractFeatures(Phase):
|
|
|
198
199
|
|
|
199
200
|
self.features.loc[idx, "recordId"] = recordId
|
|
200
201
|
self.features.loc[idx, "channel"] = c
|
|
201
|
-
self.features.loc[idx,
|
|
202
|
+
self.features.loc[idx, checkedCol] = True
|
|
202
203
|
|
|
203
204
|
self.registerData("features", self.features)
|
|
204
205
|
idx = (recordId, channel) if channel is not None else recordId
|
|
@@ -211,7 +212,7 @@ class ExtractFeatures(Phase):
|
|
|
211
212
|
recordIds = metadata["recordId"]
|
|
212
213
|
forceCalculation = self.getConfig("featureExtraction.force", False)
|
|
213
214
|
|
|
214
|
-
reqFeatures = {f["name"]: True for f in self.getConfig("featureExtraction.features", [])}
|
|
215
|
+
reqFeatures = {f["name"] + "_checked": True for f in self.getConfig("featureExtraction.features", [])}
|
|
215
216
|
|
|
216
217
|
recordId = self.getConfig("recordId", False)
|
|
217
218
|
recordIds = [recordId] if recordId else recordIds.iloc
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name="SleePyPhases",
|
|
8
|
-
version="v0.6.
|
|
8
|
+
version="v0.6.2"[1:],
|
|
9
9
|
author="Franz Ehrlich",
|
|
10
10
|
author_email="fehrlichd@gmail.com",
|
|
11
11
|
description="A framwork for creating deep learning pipelines for sleep data",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|