Metadata-Version: 2.4
Name: fpgmathlib
Version: 0.1.1
Summary: Python wrapper over the FpgMathLib
Author-email: "BrainBit Inc." <support@brainbit.com>
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# fpgmathlib

Supported platform: Windows (x64/x86), Linux (glibc 2.17+).

## Installation

```bash
pip install fpgmathlib
```

## Usege

```python
from fpgmathlib import FpgMathLib

with FpgMathLib(sampling_rate=250, data_window=500, npoints_forconst=25) as lib:
    lib.init_filter(filt_index=0, hp05=True)

    lib.push_data([0.1, 0.2, 0.3, 0.25])  # next data packet (samples)
    lib.process_data()

    print("HR:", lib.hr)
    print("RR:", lib.rr)
    print("Pressure index:", lib.pressure_index)
    print("Skin contact:", lib.is_skin_contact)
```
