diff --git a/scos_actions/actions/calibrate_y_factor.py b/scos_actions/actions/calibrate_y_factor.py index 1dc77ee4..e425bad3 100644 --- a/scos_actions/actions/calibrate_y_factor.py +++ b/scos_actions/actions/calibrate_y_factor.py @@ -355,14 +355,6 @@ def calibrate(self, params: dict): pwr_on_watts, pwr_off_watts, enr_linear, enbw_hz, temp_k ) - # TODO: For testing, manually trigger NaN behavior on certain channels - if params[FREQUENCY] == 3535e6: - gain = np.nan - if params[FREQUENCY] == 3545e6: - noise_figure = np.nan - if params[FREQUENCY] == 3555e6: - noise_figure = np.inf - if np.isfinite(gain) and np.isfinite(noise_figure): # Update sensor calibration with results self.sensor.sensor_calibration.update(