Esempio n. 1
0
def test_tic_match():
    """test tic match using query_tic_catalog & native vizier search
    TIC v8: https://vizier.u-strasbg.fr/viz-bin/VizieR-3?-source=IV/38/tic
    """
    t = Target(toiid=837)
    tab = t.query_vizier()
    df = tab["IV/38/tic"].to_pandas()
    d1 = df.iloc[0]
    d2 = t.query_tic_catalog(return_nearest_xmatch=True)
    assert int(d1["TIC"]) == int(d2["ID"])
Esempio n. 2
0
def test_vizier():
    t = Target(ticid=410214986, verbose=False)
    tables = t.query_vizier()
    assert isinstance(tables, TableList)
    assert isinstance(tables[0], Table)