Skip to main content

PyPI Documentation status Code style: black PyPI - Downloads

mad-datasets

Helper to access to open-source gait datasets of the MaD-Lab (and maybe externals in the future).

The aim of this package is to ensure that all datasets can be loaded in a similar fashion and all data (and annotations) are in the same format (i.e. the same sensor orientations, units, etc.). This should allow to easily run the same algorithm across multiple datasets.

⚠️ While this makes it easier to work with the datasets, the coordinate system and other data information provided with the dataset might not match the format you get when using this library!

All datasets APIs are built using the tpcp.Dataset interface. For available datasets see the table below.

Usage

Install the package from Pip

pip install mad-datasets

Then download/obtain the dataset that you are planning to use (see below). The best way to get started is to then check the example for the respective dataset on the documentation page.

Datasets

Dataset Info Link Download
EgaitSegmentationValidation2014 https://www.mad.tf.fau.de/research/activitynet/digital-biobank/ Email to data owner (see info link)
EgaitParameterValidation2013 https://www.mad.tf.fau.de/research/activitynet/digital-biobank/ Email to data owner (see info link)
StairAmbulationHealthy2021 https://osf.io/sgbw7/ https://osf.io/download/5ueq6/
SensorPositionDataset2019 https://zenodo.org/record/5747173 https://zenodo.org/record/5747173

Testing

The /tests directory contains a set of tests to check the functionality of the library. However, most tests rely on the existence of the respective datasets in certain folders outside the library. Therefore, the tests can only be run locally and not on the CI server.

To run them locally, make sure datasets are downloaded into the correct folders and then run poe test.

Documentation (build instructions)

Like the tests, the documentation requires the datasets to be downloaded into the correct folders to execute the examples. Therefore, we can not build the docs automatically on RTD. Instead we host the docs via github pages. The HTML source can be found in the gh-pages branch of this repo.

To make the deplowment as easy as possible, we "mounted" the gh-pages branch as a submodule in the docs/_build/html folder. Hence, before you attempt to build the docs, you need to initialize the submodule.

git submodule update --init --recursive

After that you can run poe docs to build the docs and then poe upload_docs to push the changes to the gh-pages branch. We will always just update a single commit on the gh-pages branch to keep the effective file size small.

**WARNING: ** Don't delete the docs/_build folder manually or by running the sphinx make file! This will delete the submodule and might cause issues. The poe task is configured to clean all relevant files in the docs/_build folder before each run.

After an update of the documentation, you will see that you also need to make a commit in the main repo, as the commit hash of the docs submodule has changed.

To make sure you don't forget to update the docs, the poe prepare_release task will also build and upload the docs automatically.

Metadata

Release files for mad-datasets 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mad-datasets 0.4.0
File Size Uploaded Provenance Actions
mad_datasets-0.4.0.tar.gz 30.0 kB Without provenance Details for mad_datasets-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mad-datasets 0.4.0
File Interpreter ABI Platform Actions
mad_datasets-0.4.0-py3-none-any.whl Python 3 none any Details for mad_datasets-0.4.0-py3-none-any.whl

Total release size: 68.2 kB

Release files / mad_datasets-0.4.0.tar.gz

Download URL mad_datasets-0.4.0.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5336931254ffef461168068bfd2c350e9208010e5862c9c8c1d95fa4f4def28a
BLAKE2b-256 checksum
How to use checksums
ca53faf1137bfe667e418c83b52422d7cdef43ea82e366ff09b55c689b51528e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.0 Linux/5.15.0-1024-azure

Release files / mad_datasets-0.4.0-py3-none-any.whl

Download URL mad_datasets-0.4.0-py3-none-any.whl
Size 38.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8de51c059f0e2b9634b5001cbfb7d9574d9ee85605af25941600e5bf56376fa0
BLAKE2b-256 checksum
How to use checksums
c71a584125e430c7311aae6d5d1c1bf55a4aabaa27472c724904cf113c225b43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.0 Linux/5.15.0-1024-azure

Security for mad-datasets 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page