def METHOD_NAME(input_star):
    os.makedirs("output", exist_ok=True)
    indices_pkl = "output/indices.pkl"
    with open(indices_pkl, "wb") as f:
        # 0-based indices into the input star file
        # Note that these indices are simply the 0-indexed row numbers in the starfile, and have nothing to do with
        #   the index of the individual particle in the MRCS file (e.g. 00042@mymrcs.mrcs)
        pickle.dump([11, 3, 2, 4], f)
    args = filter_star.add_args(argparse.ArgumentParser()).parse_args(
        [
            input_star,
            "--ind",
            indices_pkl,
            "-o",
            "output/issue150_filtered.star",
        ]  # 13 particles
    )
    filter_star.main(args)
    data = ImageSource.from_file(
        "output/issue150_filtered.star", lazy=False, datadir=DATA_FOLDER
    ).images()
    assert isinstance(data, torch.Tensor)
    assert data.shape == (4, 30, 30)