A pacakge to classify sleep-wear, wake-wear, and non-wear in accelerometer dataset.
Project description
SWaN_accel package
This is an algorithm to distinguish between sleep-wear, wake-wear, and non-wear in accelerometer dataset.
To install the package, use the following pip command:
pip install swan_accel
To import the two relevant methods from the package, type:
from SWaN_accel import swan_first_pass, swan_second_pass
To run swan first pass algorithm:
swan_first_pass.main(df=dataframe object, file_path=path for output file,sampling_rate=sampling rate of data)
To run swan second pass algorithm
swan_second_pass.main(day_folder=path of the date folder, debug="No")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SWaN_accel-1.13.tar.gz.
File metadata
- Download URL: SWaN_accel-1.13.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2471109a3a715854f0b77f1ea94458aef76f9fbe69d475c63fde0085459273f0
|
|
| MD5 |
509952d30dcb38bf8b1c44858676a324
|
|
| BLAKE2b-256 |
b15c439233d81060bb2b01aaabfe99f57cf731b544b79f8dcf1948b8c90a9986
|
File details
Details for the file SWaN_accel-1.13-py3-none-any.whl.
File metadata
- Download URL: SWaN_accel-1.13-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.25.1 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
facf1ea1c130574b562cecac48562b257fc4117ff5561c18f232f2c292e8a022
|
|
| MD5 |
823a86e98848d16d5ca2b529a390a424
|
|
| BLAKE2b-256 |
79e5c8eb85624f07b01c18fecc6276e4cae2d28e09a1cfe77312cadd5d32a9fa
|