Skip to content

Commit

Permalink
Get compression_point from applied_calibration in sea action.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware committed Mar 18, 2024
1 parent db3fefe commit 83fcd11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scos_actions/actions/acquire_sea_data_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -1151,10 +1151,10 @@ def create_capture_segment(
preamp_enable=self.sensor.signal_analyzer.preamp_enable,
),
)
if "compression_point" in measurement_result:
if "compression_point" in measurement_result["applied_calibration"]:
capture_segment.sensor_calibration.compression_point = measurement_result[
"compression_point"
]
"applied_calibration"
]["compression_point"]
self.sigmf_builder.add_capture(capture_segment)

def get_sigmf_builder(
Expand Down

0 comments on commit 83fcd11

Please sign in to comment.