Exemplo n.º 1
0
def test_null_r1_calibrator(test_event):
    telid = 11
    event = deepcopy(test_event)
    calibrator = NullR1Calibrator()
    calibrator.calibrate(event)
    r0 = event.r0.tel[telid].adc_samples
    r1 = event.r1.tel[telid].pe_samples
    assert_array_equal(r0, r1)
Exemplo n.º 2
0
def test_null_r1_calibrator(example_event):
    telid = 11

    calibrator = NullR1Calibrator()
    calibrator.calibrate(example_event)
    r0 = example_event.r0.tel[telid].waveform
    r1 = example_event.r1.tel[telid].waveform
    assert_array_equal(r0, r1)
Exemplo n.º 3
0
def test_null_r1_calibrator(test_event):
    telid = 11
    event = deepcopy(test_event)
    calibrator = NullR1Calibrator()
    calibrator.calibrate(event)
    r0 = event.r0.tel[telid].waveform
    r1 = event.r1.tel[telid].waveform
    assert_array_equal(r0, r1)