def METHOD_NAME():
    data = wt.Data()
    data.create_variable("v1", np.arange(0, 10)[None, :])
    data.create_variable("v2", np.arange(0, 10)[:, None])
    data.create_channel("ch", data.v1[:] * data.v2[:])
    data.transform("v2", "v1")
    data.collapse("v1", "integrate")
    data.collapse("v2", "int")
    assert data.ch_v2_int.shape == (1, 10)
    assert data.ch_v1_integrate.shape == (10, 1)
    assert data.ch_v1_integrate_v2_int.shape == (1, 1)
    assert np.allclose(
        data.ch_v2_int.points,
        np.array([0.0, 40.5, 81.0, 121.5, 162.0, 202.5, 243.0, 283.5, 324.0, 364.5]),
    )
    assert np.allclose(
        data.ch_v1_integrate.points,
        np.array([0.0, 40.5, 81.0, 121.5, 162.0, 202.5, 243.0, 283.5, 324.0, 364.5]),
    )
    assert np.allclose(data.ch_v1_integrate_v2_int.points, np.array(1640.25))
    assert len(data.channel_names) == 4