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)

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.1.tar.gz (22.6 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.1-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SWaN_accel-1.1.tar.gz
  • Upload date:
  • Size: 22.6 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.1.tar.gz
Algorithm Hash digest
SHA256 2fc4455b497186ba636d58938340e9cb35d9f54216c509bb5d76d83401302fa2
MD5 1214ef68817f7744500da1035ee934ca
BLAKE2b-256 41b7d5bfd8da308eb73af3a32bb8cc13a88f28d334fa7f2667ef52f64de092b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SWaN_accel-1.1-py3-none-any.whl
  • Upload date:
  • Size: 35.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0141e4c0a55b6b2ac51a5356266b4b073070160a238973bba9bb3b5c5c03d4b
MD5 1ccba6b0cb8f4bae0ee6faa640bf1c09
BLAKE2b-256 d1250ed11d13d4b8c62e7e90adc4a9b788f8f0442b9be3fa7c118bc1e544b454

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