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")
Metadata
Release files for SWaN-accel 1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SWaN_accel-1.18.tar.gz | 36.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SWaN_accel-1.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.7 kB
Release files / SWaN_accel-1.18.tar.gz
| Download URL | SWaN_accel-1.18.tar.gz |
|---|---|
| Size | 36.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6374efde1c7844285d7da47bb439817909ace0c44d5f14dcae7cd4f7e1092089
|
|
BLAKE2b-256 checksum How to use checksums |
41303ad99aee8cc05f9499bb2565d04dbdca154b2dd9076f54117c5a4df7f344
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / SWaN_accel-1.18-py3-none-any.whl
| Download URL | SWaN_accel-1.18-py3-none-any.whl |
|---|---|
| Size | 48.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af19341f274bf035716cf3d88df910f33936ee98fb918f27c33ee397201fe59a
|
|
BLAKE2b-256 checksum How to use checksums |
08b0c41bc87a40dc4964a8525939e393a1b20202ce43a5f681af67f99f56e2b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|