def METHOD_NAME(readout):
    """Check converting to and from an astropy Table"""
    tab = readout.to_table()
    readout2 = readout.from_table(tab)
    assert readout.name == readout2.name
    assert readout.sampling_rate == readout2.sampling_rate
    assert np.array_equal(readout.reference_pulse_shape, readout2.reference_pulse_shape)
    assert readout.reference_pulse_sample_width == readout2.reference_pulse_sample_width