def METHOD_NAME():
    """ Test if the first argument allows to use AtomArrayStack """
    stack = load_structure(TEST_FILE)
    # calculate oxygen RDF for water with and without a selection
    oxygen = stack[:, stack.atom_name == 'OW']
    interval = np.array([0, 10])
    n_bins = 100
    bins, g_r = rdf(oxygen[:, 0], stack, interval=interval,
                    bins=n_bins, periodic=False)
    atom_bins, atoms_g_r = rdf(oxygen[:, 0].coord, stack, interval=interval,
                    bins=n_bins, periodic=False)
    assert np.allclose(g_r, atoms_g_r)