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.6.tar.gz (32.8 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.6-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SWaN_accel-1.6.tar.gz
  • Upload date:
  • Size: 32.8 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.6.tar.gz
Algorithm Hash digest
SHA256 1636af5d8398704412f64756cf9cdf619cd067594d68a60e8ad982717320db99
MD5 2b61e1ce8c9a4db06602c33e8b3cf950
BLAKE2b-256 e537dff1e3cb454fc7bb5c7df27d1a6e222a29406f7531d571d133b15e026d20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SWaN_accel-1.6-py3-none-any.whl
  • Upload date:
  • Size: 35.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 24af07f9b10d419818d38ec67bd35d5059487a67795af9b0510d53bd597b66af
MD5 55b345c9931c69f07d2a68152732c7c1
BLAKE2b-256 dd3be6e656c892a893cac04c4c9b5c6fbdd24f7607cb77f3fd992cc4fd5fbe52

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