lunapi 1.2.1__cp311-cp311-win_amd64.whl → 1.2.3__cp311-cp311-win_amd64.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.
- lunapi/lunapi0.cp311-win_amd64.pyd +0 -0
- lunapi/lunapi1.py +10 -4
- {lunapi-1.2.1.dist-info → lunapi-1.2.3.dist-info}/METADATA +4 -4
- lunapi-1.2.3.dist-info/RECORD +11 -0
- {lunapi-1.2.1.dist-info → lunapi-1.2.3.dist-info}/WHEEL +1 -1
- lunapi-1.2.1.dist-info/RECORD +0 -11
- {lunapi-1.2.1.dist-info → lunapi-1.2.3.dist-info}/licenses/LICENSE +0 -0
Binary file
|
lunapi/lunapi1.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"""lunapi1 module: a high-level wrapper around lunapi0 module functions"""
|
2
2
|
|
3
3
|
# Luna Python interface (lunapi)
|
4
|
-
# v1.
|
4
|
+
# v1.2.3, 28-May-2025
|
5
5
|
|
6
6
|
import lunapi.lunapi0 as _luna
|
7
7
|
|
@@ -33,7 +33,7 @@ class resources:
|
|
33
33
|
POPS_LIB = 's2'
|
34
34
|
MODEL_PATH = '/build/luna-models/'
|
35
35
|
|
36
|
-
lp_version = "v1.2.
|
36
|
+
lp_version = "v1.2.3"
|
37
37
|
|
38
38
|
# C++ singleton class (engine & sample list)
|
39
39
|
# lunapi_t --> luna
|
@@ -52,7 +52,7 @@ class proj:
|
|
52
52
|
This class also contains a sample-list and utility functions for importing
|
53
53
|
Luna output databases.
|
54
54
|
"""
|
55
|
-
|
55
|
+
|
56
56
|
# single static engine class
|
57
57
|
eng = _luna.inaugurate()
|
58
58
|
|
@@ -304,6 +304,8 @@ class proj:
|
|
304
304
|
# clear all
|
305
305
|
if key is None:
|
306
306
|
proj.eng.clear_all_opts()
|
307
|
+
# and a spectial case: the sig list
|
308
|
+
self.vars( 'sig', '' )
|
307
309
|
return
|
308
310
|
|
309
311
|
# clear some/one
|
@@ -1178,7 +1180,11 @@ class inst:
|
|
1178
1180
|
return
|
1179
1181
|
if all( self.has( ch ) ) is not True:
|
1180
1182
|
return
|
1181
|
-
|
1183
|
+
if minf is None:
|
1184
|
+
minf=0.5
|
1185
|
+
if maxf is None:
|
1186
|
+
maxf=25
|
1187
|
+
res = self.silent_proc( "PSD epoch-spectrum dB sig="+ch+" min="+str(minf)+" max="+str(maxf) )[ 'PSD: CH_E_F' ]
|
1182
1188
|
return spec( res , ch=ch, var='PSD', mine=mine,maxe=maxe,minf=minf,maxf=maxf,w=w)
|
1183
1189
|
|
1184
1190
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: lunapi
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.3
|
4
4
|
Summary: Python interface to the Luna toolset for sleep signal analysis
|
5
5
|
Keywords: Sleep,EEG,PSG,Luna,Signal processing
|
6
6
|
Author-Email: Shaun Purcell <smpurcell@bwh.harvard.edu>, Senthil Palanivelu <spalanivelu@mgh.harvard.edu>, Nataliia Kozhemiako <nkozhemiako@bwh.harvard.edu>
|
@@ -17,8 +17,8 @@ Classifier: Programming Language :: Python :: 3.10
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
18
18
|
Classifier: Programming Language :: Python :: 3.12
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
20
|
-
Project-URL:
|
21
|
-
Project-URL:
|
20
|
+
Project-URL: www, https://zzz.bwh.harvard.edu/luna
|
21
|
+
Project-URL: github, http://github.com/remnrem/luna-api
|
22
22
|
Requires-Python: >=3.9
|
23
23
|
Requires-Dist: pandas<3,>=2
|
24
24
|
Requires-Dist: numpy>=2
|
@@ -0,0 +1,11 @@
|
|
1
|
+
lunapi/__init__.py,sha256=nS9DWcqZhxTvOJl7tDfbgO7XxZpDiFLjHJNfL8uPBQg,365
|
2
|
+
lunapi/libfftw3-3.dll,sha256=ABqDXS8lrAZhWA1n21YiFXwoSBwGp_PvRa2TmDm_VKE,2712765
|
3
|
+
lunapi/libfftw3f-3.dll,sha256=QsoY__Nd0SiQ4ER4vJkABbOWnLdE9oQ5dr1DbM1_Ckw,2772692
|
4
|
+
lunapi/libfftw3l-3.dll,sha256=znj80YZuel6-w_3VCzx81YxzgFnRaHetAWSbclu3Kpo,1247967
|
5
|
+
lunapi/lunapi0.cp311-win_amd64.pyd,sha256=xI880okNzSBV8Y-HG1q16AqUNTN-HOALnNybCK6NFTE,14022144
|
6
|
+
lunapi/lunapi0.cpp,sha256=VkKdaWPBjBABoiJwZnwzMos3wcxq_4WE4arYKxubLYI,13401
|
7
|
+
lunapi/lunapi1.py,sha256=qmqc0TnQZnq-af73CNExuE0ZrFFRdjiwp0wTjPjy1vg,95026
|
8
|
+
lunapi-1.2.3.dist-info/METADATA,sha256=CJCsb2ZSt6h8oYb2K_Hx4khWZBrxZQauka_HcDp4O54,1519
|
9
|
+
lunapi-1.2.3.dist-info/WHEEL,sha256=snOjF3_Qdfl83AvEPF_jBYJIRsss89-Tk83TV05TAGs,106
|
10
|
+
lunapi-1.2.3.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
11
|
+
lunapi-1.2.3.dist-info/RECORD,,
|
lunapi-1.2.1.dist-info/RECORD
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
lunapi/__init__.py,sha256=nS9DWcqZhxTvOJl7tDfbgO7XxZpDiFLjHJNfL8uPBQg,365
|
2
|
-
lunapi/libfftw3-3.dll,sha256=ABqDXS8lrAZhWA1n21YiFXwoSBwGp_PvRa2TmDm_VKE,2712765
|
3
|
-
lunapi/libfftw3f-3.dll,sha256=QsoY__Nd0SiQ4ER4vJkABbOWnLdE9oQ5dr1DbM1_Ckw,2772692
|
4
|
-
lunapi/libfftw3l-3.dll,sha256=znj80YZuel6-w_3VCzx81YxzgFnRaHetAWSbclu3Kpo,1247967
|
5
|
-
lunapi/lunapi0.cp311-win_amd64.pyd,sha256=Z2PvJrM51Fr59zhsySvVnEzV3dYtnyXegiXjVAoyDt8,13807104
|
6
|
-
lunapi/lunapi0.cpp,sha256=VkKdaWPBjBABoiJwZnwzMos3wcxq_4WE4arYKxubLYI,13401
|
7
|
-
lunapi/lunapi1.py,sha256=-6Pu6pnsTBxxC554ZkmUIRBMriR2V5a2migxHnyyLmY,94823
|
8
|
-
lunapi-1.2.1.dist-info/METADATA,sha256=kQ3-SdHdIbgO1Q1ezIdqswJQE71NUuOdYhZ1iggYKPw,1519
|
9
|
-
lunapi-1.2.1.dist-info/WHEEL,sha256=kXCl1J14PkmxQKXf5U_5vxmme_OmC3Ydcral7u0yA3M,106
|
10
|
-
lunapi-1.2.1.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
11
|
-
lunapi-1.2.1.dist-info/RECORD,,
|
File without changes
|