Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
example_modules
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9329fb6f
authored
Jan 25, 2018
by
John Doe
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updated README
parent
17cd3d80
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
3 deletions
README.rst
README.rst
View file @
9329fb6f
...
@@ -2,10 +2,62 @@ Example Modules
...
@@ -2,10 +2,62 @@ Example Modules
===============
===============
*For more information read the Joule Documentation at*
*For more information read the Joule Documentation at*
http://docs.wattsworth.net/joule
/writing_modules.html
http://docs.wattsworth.net/joule
This repository contains reference implementations of a custom
Example Reader:
FilterModule and ReaderModule. Unittests for both modules are
--------------
Read random data, this can be extended to supprot low bandwidth sensors (<1Hz).
Usage:
.. code-block:: bash
$> ./example_reader.py
#output to terminal
#Isolated execution (jouled must be running)
$> ./example_reader.py --module_config="module_configs/example_reader.conf" --stream_configs="stream_configs"
Example Filter:
---------------
Apply a median filter of fixed WINDOW size
Usage:
.. code-block:: bash
#Isolated execution (jouled must be running)
$> ./example_reader.py --module_config="module_configs/example_filter.conf" --stream_configs="stream_configs"
#Historic Isolated Execution (jouled must be running)
$> ./example_reader.py --module_config="module_configs/example_filter.conf" --stream_configs="stream_configs"
--start="yesterday" --end="today"
Example Composite:
------------------
Combine the example reader and filter into a single module
$> ./example_composite.py
#output to terminal
#Isolated execution (jouled must be running)
$> ./example_composite.py --module_config="module_configs/example_composite.conf" --stream_configs="stream_configs"
Other Modules
-------------
High Bandwidth Reader: produce sawtooth waveform with adjustable data rate.
Offset Filter: add an adjustable offset to a stream
Testing
-------
*UNDER DEVELOPMENT*
Unittests are
included in the respective *_test.py files. Run the tests using
included in the respective *_test.py files. Run the tests using
nose2:
nose2:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment