Ejemplo n.º 1
0
def test_hst():
    """ Test HST surveys
    """
    # ACS
    acs = LLSSurvey.load_HST_ACS()
    assert acs.nsys == 34
    assert len(acs.sightlines) == 18
    # WFC3
    wfc3 = LLSSurvey.load_HST_WFC3()
    assert wfc3.nsys == 91
    assert len(wfc3.sightlines) == 53
    # Combined
    HST_LLS = wfc3 + acs
    assert HST_LLS.nsys == 125
    assert len(HST_LLS.sightlines) == 71
Ejemplo n.º 2
0
def test_hst():
    """ Test HST surveys
    """
    # ACS
    acs = LLSSurvey.load_HST_ACS()
    assert acs.nsys == 34
    assert len(acs.sightlines) == 18
    # WFC3
    wfc3 = LLSSurvey.load_HST_WFC3()
    assert wfc3.nsys == 91
    assert len(wfc3.sightlines) == 53
    # Combined
    HST_LLS = wfc3 + acs
    assert HST_LLS.nsys == 125
    assert len(HST_LLS.sightlines) == 71
Ejemplo n.º 3
0
def test_hst():
    """ Test HST surveys
    """
    # ACS
    acs = LLSSurvey.load_HST_ACS()
    assert acs.nsys == 9
    assert len(acs.sightlines) == 18
    # WFC3
    wfc3 = LLSSurvey.load_HST_WFC3()
    #assert wfc3.nsys == 91
    assert wfc3.nsys == 32  # Was 30.  I think the NHI = 17.49 mattered
    assert len(wfc3.sightlines) == 53
    # Combined
    HST_LLS = wfc3 + acs
    #assert HST_LLS.nsys == 125
    assert HST_LLS.nsys == 41  # Was 39
    assert len(HST_LLS.sightlines) == 71