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.18.tar.gz (36.7 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.18-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SWaN_accel-1.18.tar.gz
  • Upload date:
  • Size: 36.7 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.18.tar.gz
Algorithm Hash digest
SHA256 6374efde1c7844285d7da47bb439817909ace0c44d5f14dcae7cd4f7e1092089
MD5 9545434ed8828ec7324772475940ed41
BLAKE2b-256 41303ad99aee8cc05f9499bb2565d04dbdca154b2dd9076f54117c5a4df7f344

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SWaN_accel-1.18-py3-none-any.whl
  • Upload date:
  • Size: 48.0 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 af19341f274bf035716cf3d88df910f33936ee98fb918f27c33ee397201fe59a
MD5 94a07eecd8c2db5f301f4268f8a4da70
BLAKE2b-256 08b0c41bc87a40dc4964a8525939e393a1b20202ce43a5f681af67f99f56e2b6

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