AOM: fix frequency calculation in ramp()
Description
Before handing of frequency_start and frequency_end ind AOM.ramp() to the underlying RFSource, we need to consider the order and passes of the AOM (similar to AOM.set_frequency()). This MR fixes that.
Type of change
Please delete options that are not relevant.
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to not work as expected) -
This change requires a documentation update
Checklist:
-
I have performed a self-review of my code -
I have commented my code, particularly in hard-to-understand areas -
I have made corresponding changes to the documentation