-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make actions set RF path #36
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of these changes are not needed as the existing implementation will handle setting the preselector state if rf_path is in the measurement params. I would recommend we get rid of the unnecessary changes, keep the changes in settings, and consider raising an exception in the base actions configure_preselector method if the sensor has a preselector and no rf_path is specified in the measurment params, or perhaps if the preselector has multiple paths and no rf path is specified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few minor changes. See in-line comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Addresses #35
rf_path
as a required configuration parameter for time domain IQ and single frequency FFT actions if a preselector is defined in the sensor definition filerf_path
before measurement in time domain IQ and single frequency FFT actionsImportant:
YAML configs will need to be updated in order to run these actions using a preselector.
rf_path: antenna
(or whatever the name of the desired RF path in the preselector configuration file is) to the YAML config of any M4/IQ actions.noise_diode_on: noise_diode_on
andnoise_diode_off: noise_diode_off
(or whatever the names of the desired states of the preselector are) to the YAML config of any Y-Factor calibration actions.