NTIA / Preselector

A general software API to interface with RF preselectors.
Other
1 stars 0 forks source link

Refactor #1

Closed dboulware closed 2 years ago

dboulware commented 2 years ago

This pr makes the Preselector an abstract class and introduces a WebRelayPreselector as an implementation of a Preselector. It also simplifies the interface of the Preselector by removing methods to set a source on and off and simply have a method to set_rf_path. Additional renaming and edits were performed to comply with recommended Python style. Finally, a number of tests were added to ensure the Preselector is populated correctly.