Skip to content

Commit

Permalink
Feature: filters, refresh_interval, timing alarm and etc. (#77)
Browse files Browse the repository at this point in the history
* Filters + other features #2 (#76)

* Add files via upload

Update adding filters, spectrogram range, and logarithmic y-axis features.

Changelog:
- in raspberryshake.py: 
-- updated FDSNWS URL
- in c_plot.py, client.py:
-- implemented filtering for both trace and spectrogram
-- implemented range display for spectrogram
-- implemented logarithmic y-axis
- in c_settings.py:
-- updated default settings & readability

* Move files to correct directory

---------

Co-authored-by: Giuseppe Petricca <58811927+gpetricca@users.noreply.github.com>

* Add refresh_interval  for Plot (#73)

* Try add refresh_interval  for Plot

* Merge develop

* Feature/timing alarm (#72)

* Update Alert class. + Add alert duration to Settings

- rework trigger logic.
- split _is_trigger to _is_trigger_with_timer and _is_trigger_without_timer
- rework old _is_trigger to _is_trigger_without_timer
- move alert activation and deactivation to separate methods
- add parameters for timer exceed timer

* update client - Add alert duration

* Update alert trigger starting message

* Update docs

* Add GH Actions for building docs + update doc -> default settings

* Move docs deps to requirements.txt

* Fix docs deps: remove Jinja2

* Docs: Add c_settings to menu

* Update docs

---------

Co-authored-by: Giuseppe Petricca <58811927+gpetricca@users.noreply.github.com>
  • Loading branch information
dmitryint and gpetricca authored Jan 12, 2025
1 parent 30fe5ee commit 56b84bf
Show file tree
Hide file tree
Showing 64 changed files with 4,077 additions and 3,090 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/deploy_docs_from_docsrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Works only if github.event.release.tag_name == package version
name: Build Docs

on:
push:
branches:
- master
- develop
paths:
- docsrc/**

jobs:
build:
name: Build docs
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r docsrc/requirements.txt
- name: Build
run: |
cd docsrc/
make github
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: builds
path: docsrc/_build/html
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: f7994a17419173945d8508a3eff5fb7e
config: 10931521fcf0ca189e6049e5e7352e60
tags: 645f666f9bcd5a90fca523b33c5a78b7
14 changes: 14 additions & 0 deletions docs/_sources/c_settings.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
:py:data:`rsudp.c_settings` (Settings)
=====================================================

.. automodule:: rsudp.c_settings
:members:

................

* :ref:`genindex`
* :ref:`search`

.. * :ref:`modindex`
`Back to top ↑ <#top>`_
1 change: 1 addition & 0 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ The modules available in rsudp are organized by type below.
c_forward
c_write
c_custom
c_settings

.. toctree::
:maxdepth: 2
Expand Down
Loading

0 comments on commit 56b84bf

Please sign in to comment.