Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed warnings and errors preventing installation of eda-features #14

Open
wants to merge 1 commit into
base: feature/eda
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![](https://github.com/im-ethz/flirt/raw/master/docs/img/flirt-header.png)

⭐️ **Simple. Robust. Powerful.**
**Simple. Robust. Powerful.**

**FLIRT** is a **F**eature generation too**L**k**I**t for wea**R**able da**T**a such as that from your smartwatch or smart ring. With FLIRT you can
easily transform wearable data into meaningful features which can then be used for example in machine learning or AI models.
Expand All @@ -17,7 +17,7 @@ FLIRT is an easy-to-use, robust and efficient feature generation toolkit for you

![FLIRT Workflow](https://github.com/im-ethz/flirt/raw/master/docs/img/flirt-workflow.png)

➡️ **Are you ready to FLIRT with your wearable data?**
**Are you ready to FLIRT with your wearable data?**

## Main Features
A few things that FLIRT can do:
Expand All @@ -29,10 +29,10 @@ A few things that FLIRT can do:
- Provide and prepare features in one comprehensive DataFrame, so that they can directly be used for further steps
(e.g. training machine learning models)

😎 FLIRT provides **high-level** implementations for fast and easy utilization of feature generators
FLIRT provides **high-level** implementations for fast and easy utilization of feature generators
(see [flirt.simple](https://flirt.readthedocs.io/en/latest/api.html#module-flirt.simple)).

🤓 For advanced users, who wish to adapt algorithms and parameters do their needs, FLIRT also provides **low-level**
For advanced users, who wish to adapt algorithms and parameters do their needs, FLIRT also provides **low-level**
implementations.
They allow for extensive configuration possibilities in feature generation and the specification of which algorithms to
use for generating features.
Expand All @@ -51,7 +51,7 @@ git clone https://github.com/im-ethz/flirt


# Quick example
Generate a comprehensive set of features for an Empatica E4 data archive with a single line of code 🚀
Generate a comprehensive set of features for an Empatica E4 data archive with a single line of code
```
import flirt
features = flirt.with_.empatica('./1234567890_A12345.zip')
Expand All @@ -66,7 +66,7 @@ Things FLIRT will be able to do in the future:
- [ ] Feature generation for additional sensor modalities such as: blood oxygen saturation, blood volume changes, respiration rate, and step counts

# Authors
Made with ❤️ at [ETH Zurich](https://im.ethz.ch).
Made with at [ETH Zurich](https://im.ethz.ch).

Check out all [authors](https://github.com/im-ethz/flirt/tree/master/docs/authors.rst).

Expand Down
3 changes: 2 additions & 1 deletion flirt/hrv/features/fd_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from typing import List

import numpy as np
from astropy.stats import LombScargle
from astropy.timeseries import LombScargle
#from astropy.stats import LombScargle
from scipy import interpolate
from scipy import signal

Expand Down
2 changes: 1 addition & 1 deletion flirt/lib/entropy/fractal.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def katz_fd(x):
return np.divide(ln, np.add(ln, np.log10(np.divide(d, ll))))


@jit('float64(float64[:], int32)')
@jit('float64(float64[:], int32)', nopython=False)
def _higuchi_fd(x, kmax):
"""Utility function for `higuchi_fd`.
"""
Expand Down