当前位置: 首页>>代码示例>>Python>>正文


Python testutil.get_data_file_name函数代码示例

本文整理汇总了Python中testutil.get_data_file_name函数的典型用法代码示例。如果您正苦于以下问题:Python get_data_file_name函数的具体用法?Python get_data_file_name怎么用?Python get_data_file_name使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了get_data_file_name函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: test_gmos_north_ifu_R_flat

def test_gmos_north_ifu_R_flat():
    add_cursor_position(9.0, 101.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(10.0, 10.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("N20130717S0014.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例2: test_gmos_south_ifu_2_diffuse_object

def test_gmos_south_ifu_2_diffuse_object():
    add_cursor_position(10.5, 106.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(20.0, 10.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("S20130421S0035.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例3: test_gmos_north_ifu_R

def test_gmos_north_ifu_R():
    add_cursor_position(10.5, 101.5, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(9.6, 11.2, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("N20111126S0354.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例4: test_gmos_south_ifu_2_newer_flat

def test_gmos_south_ifu_2_newer_flat():
    add_cursor_position(11.0, 102.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(20.0, 10.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("S20130725S0014.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例5: test_gmos_north_ifu_2_flat

def test_gmos_north_ifu_2_flat():
    add_cursor_position(10.3, 102.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(20.0, 10.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("N20130606S0009.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例6: test_gmos_south_ifu_2_flat

def test_gmos_south_ifu_2_flat():
    add_cursor_position(7.0, 108.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(20.0, 10.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("S20130110S0028.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例7: test_gmos_south_ifu_2_bright_star

def test_gmos_south_ifu_2_bright_star():
    add_cursor_position(10.0, 108.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(19.0, 13.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("S20130227S0313.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例8: test_gmos_north_long_object

def test_gmos_north_long_object():
    add_cursor_position(12.0, 99.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(9.0, 13.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("N20130605S0153.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例9: test_gmos_north_extended_fuzzy_object

def test_gmos_north_extended_fuzzy_object():
    add_cursor_position(8.6, 98.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(8.0, 14.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("N20130716S0160.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例10: test_gmos_north_ifu_2

def test_gmos_north_ifu_2():
    add_cursor_position(12.0, 97.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(19.0, 14.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("N20120122S0031.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例11: test_old_gmos_north_with_3_boxes

def test_old_gmos_north_with_3_boxes():
    centers = [(1187.0, 572.0),
               (5138.5, 3694.5),
               (1024.5, 4034.5)]

    acqimage = AcquisitionImage(get_data_file_name("N20060131S0015.fits"))
    assert_mos_acquisition(acqimage, centers, 0.4)
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_mos_box_detection.py

示例12: test_gmos_north

def test_gmos_north():
    centers = [(4408.0, 1601.0),
               (1387.5, 2168.5),
               (3548.0, 3052.0)]

    acqimage = AcquisitionImage(get_data_file_name("N20130419S0270.fits"))
    assert_mos_acquisition(acqimage, centers, 0.5)
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_mos_box_detection.py

示例13: test_gmos_south_ifu_R

def test_gmos_south_ifu_R():
    add_cursor_position(9.0, 101.0, "a")
    add_cursor_position(0.0, 0.0, "q")
    add_cursor_position(10.0, 10.0, "r")
    add_cursor_position(0.0, 0.0, "q")

    ret = main(["gacq_test", testutil.get_data_file_name("S20071017S0002.fits")])
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:7,代码来源:test_ifu_reconstruction.py

示例14: test_gmos_south_from_entire_field_of_view

def test_gmos_south_from_entire_field_of_view():
    centers = [(3956.0, 404.0),
               (3466.0, 596.5),
               (2397.0, 1626.5),
               (4949.5, 2795.0)]

    acqimage = AcquisitionImage(get_data_file_name("S20090422S0074.fits"))
    assert_mos_acquisition(acqimage, centers, 0.3)
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:8,代码来源:test_mos_box_detection.py

示例15: test_gmos_south_port_one

def test_gmos_south_port_one():
    centers = [(1330.0, 4220.0),
               (2708.5, 3518.5),
               (2990.0, 642.0)]

    acqimage = AcquisitionImage(get_data_file_name("S20110804S0079.fits"))

    assert_mos_acquisition(acqimage, centers, 0.2)
开发者ID:pyrrho314,项目名称:recipesystem,代码行数:8,代码来源:test_mos_box_detection.py


注:本文中的testutil.get_data_file_name函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。