Metadata-Version: 2.4
Name: nilspodlib
Version: 4.1.1
Summary: A Python library to load and convert sensor data recorded by a NilsPod by Portablies.
Project-URL: Homepage, https://github.com/mad-lab-fau/NilsPodLib
Project-URL: Repository, https://github.com/mad-lab-fau/NilsPodLib
Project-URL: Documentation, https://nilspodlib.readthedocs.io/en/latest/
Author-email: Arne Küderle <arne.kuederle@fau.de>, Nils Roth <nils.roth@fau.de>, Robert Richer <robert.richer@fau.de>
License-Expression: MIT
License-File: LICENSE
Keywords: IMU,accelerometer,scientific,sensors
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: <4.0,>=3.9
Requires-Dist: imucal>=2.0.0
Requires-Dist: numpy>=1.23.2
Requires-Dist: pandas>=1.1.3
Requires-Dist: scipy>=1.5.2
Requires-Dist: typing-extensions>=4.3.0
Description-Content-Type: text/markdown

# NilsPodLib

[![PyPI](https://img.shields.io/pypi/v/nilspodlib)](https://pypi.org/project/nilspodlib/)
[![codecov](https://codecov.io/gh/mad-lab-fau/NilsPodLib/branch/master/graph/badge.svg?token=2CXLVYMHJF)](https://codecov.io/gh/mad-lab-fau/NilsPodLib)
![Test and Lint](https://github.com/mad-lab-fau/NilsPodLib/workflows/Test%20and%20Lint/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/nilspodlib/badge/?version=latest)](https://nilspodlib.readthedocs.io/en/latest/?badge=latest)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
![PyPI - Downloads](https://img.shields.io/pypi/dm/nilspodlib)

A python package to parse logged NilsPod binary files.

## Installation

```
pip install nilspodlib --upgrade
```

If you have access to the mad-lab gitlab server, you can further install the `nilspodrefcal` repository, which contains
reference calibrations for a selected set of NilsPod sensors.
You can install it using:

```
pip install git+https://mad-srv.informatik.uni-erlangen.de/MadLab/portabilestools/nilspodrefcal.git --upgrade
```

## For users of NilsPodLib v1.0

With v2.0.0 the name of the library was updated from `NilsPodLib` to `nilspodlib` to comply with the recommended naming
style for Python packages.
Therefore, you need to update your import path when updating to the new version!

## For developer

Install Python >=3.9 and [uv](https://docs.astral.sh/uv/getting-started/installation/).
Then run the commands below to get the latest source and install the dependencies:

```bash
git clone https://github.com/mad-lab-fau/NilsPodLib.git
cd nilspodlib
uv sync --dev
```

To run any of the tools required for the development workflow, use the poe commands:

```bash
poe 

CONFIGURED TASKS
  format          Format all files with black.
  lint            Lint all files with ruff.
  check           Check all potential format and linting issues.
  test            Run Pytest with coverage.
  docs            Build the html docs using Sphinx.
  version         Bump version in all relevant places.
```

by calling

```bash
poe <command name>
````
