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.16.tar.gz (34.4 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.16-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SWaN_accel-1.16.tar.gz
  • Upload date:
  • Size: 34.4 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.16.tar.gz
Algorithm Hash digest
SHA256 0654f72027e035abfad186909d1623b3c38089240bb073da894b39d8f7cf651f
MD5 59bed343518a1fce08b7e7412e1e47f3
BLAKE2b-256 443188c77405e72131ac5416fada1a59c102ac9e9b94e7e10d7c4df8d4c17767

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SWaN_accel-1.16-py3-none-any.whl
  • Upload date:
  • Size: 39.2 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 11964c3b97eab9e2b53d2176e17c79e62e89a32e4280061220c1ba0e3bb5dd59
MD5 37819c0f18bf9928e1b6e8003af65b4e
BLAKE2b-256 52f6b962b4a24582d7b905b7eb37c4e05d66daf83a934247e6f0a0da655cf597

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