.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/enviroplus.svg
:target: https://pypi.python.org/pypi/enviroplus
+0.0.3
+-----
+
+* Fix "self.noise_floor" bug in get_noise_profile
+
0.0.2
-----
high_start = mid_start + int(sample_count * mid)
noise_ceiling = high_start + int(sample_count * high)
- amp_low = numpy.mean(magnitude[self.noise_floor:mid_start])
+ amp_low = numpy.mean(magnitude[noise_floor:mid_start])
amp_mid = numpy.mean(magnitude[mid_start:high_start])
amp_high = numpy.mean(magnitude[high_start:noise_ceiling])
amp_total = (low + mid + high) / 3.0
# -*- coding: utf-8 -*-
[metadata]
name = enviroplus
-version = 0.0.2
+version = 0.0.3
author = Philip Howard
author_email = phil@pimoroni.com
description = Enviro pHAT Plus environmental monitoring add-on for Raspberry Pi"
ltr559
st7735
ads1015
- fonts
- font-roboto
- astral
- pytz
+ fonts
+ font-roboto
+ astral
+ pytz
sounddevice
[flake8]
python-numpy
python-smbus
python-pil
+ python-spidev
+ python-rpi.gpio
libportaudio2
py3deps =
python3-pip
python3-numpy
python3-smbus
python3-pil
+ python3-spidev
+ python3-rpi.gpio
libportaudio2
configtxt =
dtoverlay=pi3-miniuart-bt