예제 #1
0
def test_dispaxis_16():
    value = dispaxis.get_dispersion_direction("nrc_grism", "junk", "junk",
                                              "missing")
    assert value is None
예제 #2
0
def test_dispaxis_13():
    value = dispaxis.get_dispersion_direction("NRC_TSGRISM", "junk", "junk",
                                              "GRISMR")
    assert value == 1
예제 #3
0
def test_dispaxis_15():
    value = dispaxis.get_dispersion_direction("NRC_WFSS", "junk", "junk",
                                              "GRISMC")
    assert value == 2
예제 #4
0
def test_dispaxis_10():
    value = dispaxis.get_dispersion_direction("NIS_WFSS", "junk", "GR150C",
                                              "junk")
    assert value == 1
예제 #5
0
def test_dispaxis_1():
    value = dispaxis.get_dispersion_direction("FGS_IMAGE", "junk", "junk",
                                              "junk")
    assert value is None
예제 #6
0
def test_dispaxis_7():
    value = dispaxis.get_dispersion_direction("NRS_IFU", "junk", "junk",
                                              "junk")
    assert value == 1
예제 #7
0
def test_dispaxis_8():
    value = dispaxis.get_dispersion_direction("NRS_MSASPEC", "junk", "junk",
                                              "junk")
    assert value == 1
예제 #8
0
def test_dispaxis_6():
    value = dispaxis.get_dispersion_direction("NRS_FIXEDSLIT", "junk", "junk",
                                              "junk")
    assert value == 1
예제 #9
0
def test_dispaxis_5():
    value = dispaxis.get_dispersion_direction("NIS_SOSS", "junk", "junk",
                                              "junk")
    assert value == 1
예제 #10
0
def test_dispaxis_4():
    value = dispaxis.get_dispersion_direction("MIR_LRS-FIXEDSLIT", "junk",
                                              "junk", "junk")
    assert value == 2
예제 #11
0
def test_dispaxis_3():
    value = dispaxis.get_dispersion_direction("MIR_LRS-SLITLESS", "junk",
                                              "junk", "junk")
    assert value == 2
예제 #12
0
def test_dispaxis_2():
    value = dispaxis.get_dispersion_direction("MIR_4QPM", "junk", "junk",
                                              "junk")
    assert value is None