コード例 #1
0
ファイル: test_init_cube.py プロジェクト: wkerzendorf/aplpy
def test_wcs_init():
    wcs = generate_wcs(REFERENCE)
    with pytest.raises(ValueError):
        FITSFigure(wcs, slices=[5])
コード例 #2
0
ファイル: test_init_image.py プロジェクト: d80b2t/python
def test_wcs_init():
    wcs = generate_wcs(REFERENCE)
    f = FITSFigure(wcs)
    f.show_grayscale()
    f.close()
コード例 #3
0
ファイル: test_init_cube.py プロジェクト: d80b2t/python
def test_wcs_init():
    wcs = generate_wcs(REFERENCE)
    with pytest.raises(ValueError):
        FITSFigure(wcs, slices=[5])
コード例 #4
0
ファイル: test_init_image.py プロジェクト: wkerzendorf/aplpy
def test_wcs_init():
    wcs = generate_wcs(REFERENCE)
    f = FITSFigure(wcs)
    f.show_grayscale()
    f.close()