A module to read and process data from the Microtops sun photometer, including reading via serial link and interpolating to AOT at any wavelength
Project description
This is a Python module to simplify working with data from the Microtops sun photometer.
The functionality is split into two parts at the moment:
Processing Microtops data files (including interpolating AOT at other wavelengths)
Reading Microtops data from the instrument over a serial connection, and saving/processing the data.
PyMicrotops is available on PyPI, so install by running pip install PyMicrotops
The module is fairly well documented with docstrings, so a fairly quick example should be all that’s needed:
from PyMicrotops import Microtops
m = Microtops('microtopsfile.csv')
# Plot all of the AOT data
m.plot()
# Plot for a specific time period
m.plot('2014-07-10','2014-07-19')
# Get AOT at a specific wavelength - interpolating if needed
m.aot(550)
You can also run the read_microtops command from the command-line which will read and save Microtops data from a connected instrument. If no command-line parameters are given then it will use a simple command-line user-interface, alternatively the port to use and the filename to save to can be given as arguments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PyMicrotops-1.1.0.tar.gz
.
File metadata
- Download URL: PyMicrotops-1.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d437262a58b883da72304d1932fcc6655ac7cbb1d091473be11b8f22db5461 |
|
MD5 | b3f0be53077bdbc2cbf2988f457f61b7 |
|
BLAKE2b-256 | f3e81ff4e7c306749ec3c361bdcf9248bc9d7c79a3ce925f2ddd2a563777e573 |