Files
galileo/tests/integration/test_signalsim_e1c_secondary_code.py
T

14 lines
486 B
Python

import pytest
@pytest.mark.signalsim
def test_signalsim_e1c_secondary_sync_and_coherent_gain(signalsim_validation_result) -> None:
report, _, _ = signalsim_validation_result
sync = report["e1c_secondary"]
assert sync["phase"] == 10
assert sync["normalized_correlation"] > 0.9
assert sync["sign_errors"] == 0
assert sync["compared_periods"] >= 100
assert sync["wiped_25_period_coherent_gain_db"] > 10.0
assert sync["wipeoff_gain_improvement_db"] > 10.0