Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SWaN_accel-1.12.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SWaN_accel-1.12-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file SWaN_accel-1.12.tar.gz.

File metadata

  • Download URL: SWaN_accel-1.12.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

Hashes for SWaN_accel-1.12.tar.gz
Algorithm Hash digest
SHA256 094233f48ba7e38353ace602c8b599f8aafcf60d24fee869ab1cce0ca5c787e3
MD5 71cbea750bd0abefb484a474b36b08ac
BLAKE2b-256 725408f39addff8ba851125cf3c4270d5922fbe1ab7413852030ad4cbc9fa6eb

See more details on using hashes here.

File details

Details for the file SWaN_accel-1.12-py3-none-any.whl.

File metadata

  • Download URL: SWaN_accel-1.12-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

Hashes for SWaN_accel-1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2e01bdf76ac12fc87eb373c023b3e337a9d4eeefb8c306ca06d1691467f79429
MD5 c783933dda8b1f1e69c1a73a960c6341
BLAKE2b-256 329c936b2f73019c9d1183a07d916c60b3f81509654c08a5a2093aa85f168a9e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page