Skip to content

Commit

Permalink
Discover action types (#53)
Browse files Browse the repository at this point in the history
* Update scos-actions branch for testing

* Add testing config

* scos-actions branch testing.

* Add noise-diode-off testing config

* Add firmware and API version properties

* Add new properties to unit tests

* Bump minor version to 4.1.0

* Update required scos-actions version

* Delete testing configs

* Update nffts in SEA data product configs

* add no filter cal action for testing.

* Delete example calibration files

* actions branch

* expose signal_analyzer in discover.

* Only load actions in discover. Use a setting for the device model.

* Don't create sigan.

* optional cals in sigan constructor.

* remove bad import and use self.sensor_calibration.

* Add optional switches dictionary to TekRSASigan and pass to power_cycle.

* remove switches from power_cycle_and_connect call.

* Instantiate signal_analyzer and expose in discover if not running migrations.

* set sigan to None when running migration.

* log running migrations.

* load switches before creating tekrsa.

* Don't create sigan.

* Return to not initializing sigan for testing.

* scos-actions 8.0.0 and remove switch_configs_dir setting.

* Ran pre-commit.

* Remove no filter cal action added for testing.

* Remove calibration tests. Initialize signal analyzer for tests. Add DEVICE_GetFWVersion and DEVICE_GetAPIVersion to the mock rsa.

* Major version update.

* format.

* remove attenuation-modified SEA action configs

* remove reference to example cal files from README

* use model property instead of device_name

Consistency with base sigan interface

---------

Co-authored-by: Anthony Romaniello <aromaniello@ntia.gov>
  • Loading branch information
dboulware and aromanielloNTIA committed Jan 29, 2024
1 parent 0266205 commit adb3db8
Show file tree
Hide file tree
Showing 38 changed files with 100 additions and 2,210 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -48,8 +48,8 @@ For information on adding actions, see the [SCOS Actions Plugin documentation](h

## Overview of Repo Structure

- `scos_tekrsa/configs`: Contains example calibration files and the YAML files with the
parameters used to initialize the Tektronix RSA supported actions
- `scos_tekrsa/configs`: Contains YAML files with the parameters used to initialize the
Tektronix RSA supported actions
- `scos_tekrsa/discover`: Includes the code to read YAML files and make actions
available to `scos-sensor`
- `scos_tekrsa/hardware`: Includes an implementation of the signal analyzer interface for
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -41,7 +41,7 @@ classifiers = [
dependencies = [
"environs>=9.5.0",
"tekrsa-api-wrap>=1.3.2",
"scos_actions @ git+https://github.com/NTIA/scos-actions@7.0.0",
"scos_actions @ git+https://github.com/NTIA/scos-actions@8.0.0",
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/scos_tekrsa/__init__.py
@@ -1 +1 @@
__version__ = "4.0.0"
__version__ = "5.0.0"

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit adb3db8

Please sign in to comment.