Skip to content

Commit

Permalink
update formatting to prevent bad autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jhazentia committed Mar 5, 2024
1 parent 74cac26 commit adb5383
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions scos_actions/actions/acquire_sea_data_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,16 +1137,12 @@ def create_capture_segment(
)
if self.cal_adjust:
capture_segment.sensor_calibration = ntia_sensor.Calibration(
datetime=measurement_result["sensor_cal"]["datetime"],
gain=round(measurement_result["sensor_cal"]["gain"], 3),
noise_figure=round(
measurement_result["sensor_cal"]["noise_figure"], 3
),
temperature=round(
measurement_result["sensor_cal"]["temperature"], 1
),
reference=DATA_REFERENCE_POINT,
)
datetime=measurement_result["sensor_cal"]["datetime"],
gain=round(measurement_result["sensor_cal"]["gain"], 3),
noise_figure=round(measurement_result["sensor_cal"]["noise_figure"], 3),
temperature=round(measurement_result["sensor_cal"]["temperature"], 1),
reference=DATA_REFERENCE_POINT,
)
self.sigmf_builder.add_capture(capture_segment)

def get_sigmf_builder(
Expand Down

0 comments on commit adb5383

Please sign in to comment.