Exemplo n.º 1
0
def test_turboSETI_entry_point():
    """ Test the command line utility turboSETI """
    print("\n===== test_turboSETI_entry_point =====")
    filename_fil = os.path.join(HERE, VOYAH5FLIPPED)
    args = [
        filename_fil,
    ]
    seti_event.main(args)
Exemplo n.º 2
0
def test_turboSETI_entry_point():
    """ Test the command line utility turboSETI """

    filename_fil = os.path.join(HERE,
                                'Voyager1.single_coarse.fine_res.flipped.h5')
    args = [
        filename_fil,
    ]
    seti_event.main(args)
Exemplo n.º 3
0
def test_turboSETI_entry_point():
    r""" Test the command line utility turboSETI """
    print("\n===== test_turboSETI_entry_point 1 =====")
    h5_1 = os.path.join(HERE, VOYAH5FLIPPED)
    args = [
        h5_1,
    ]
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 2 =====")
    h5_2 = os.path.join(HERE, OFFNIL_H5)
    args = [
        h5_2,
    ]
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 3 =====")
    h5_3 = os.path.join(HERE, OFFNIL_H5)
    args = [
        h5_3,
        "-l",
        "debug",
    ]
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 4 =====")
    h5_4 = os.path.join(HERE, OFFNIL_H5)
    args = [
        h5_4,
        "-g",
        "y",
    ]
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 5 =====")
    h5_5 = os.path.join(HERE, OFFNIL_H5)
    args = [
        h5_5,
        "-P",
        "y",
    ]
    seti_event.main(args)
Exemplo n.º 4
0
def test_turboSETI_entry_point():
    r""" Test the command line utility turboSETI with various parameters"""
    print("\n===== test_turboSETI_entry_point 1 =====")
    h5_1 = os.path.join(TESTDIR, VOYAH5FLIPPED)
    args = [
        h5_1,
        "-s",
        str(MIN_SNR),
        "-M",
        str(MAX_DRIFT),
        "-o",
        TESTDIR,
    ]
    print("args:", args)
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 2 =====")
    h5_2 = os.path.join(TESTDIR, OFFNIL_H5)
    args = [
        h5_2,
        "-s",
        str(MIN_SNR),
        "-M",
        str(MAX_DRIFT),
        "-o",
        TESTDIR,
    ]
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 3 =====")
    h5_3 = os.path.join(TESTDIR, OFFNIL_H5)
    args = [
        h5_3,
        "-l",
        "debug",
        "-s",
        str(MIN_SNR),
        "-M",
        str(MAX_DRIFT),
        "-o",
        TESTDIR,
    ]
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 4 =====")
    h5_4 = os.path.join(TESTDIR, OFFNIL_H5)
    args = [
        h5_4,
        "-g",
        "y",
        "-s",
        str(MIN_SNR),
        "-M",
        str(MAX_DRIFT),
        "-o",
        TESTDIR,
    ]
    seti_event.main(args)
    print("\n===== test_turboSETI_entry_point 5 =====")
    h5_5 = os.path.join(TESTDIR, OFFNIL_H5)
    args = [
        h5_5,
        "-P",
        "y",
        "-s",
        str(MIN_SNR),
        "-M",
        str(MAX_DRIFT),
        "-o",
        TESTDIR,
    ]
    seti_event.main(args)