• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Python standardHalTest.halTest函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: movie_single_camera

def movie_single_camera(random_pause = False):
    if random_pause:
        halTest(config_xml = "none_tcp_config_random_pause.xml",
                class_name = "TakeMovie1",
                test_module = "storm_control.test.hal.manual_tcp_tests")
    else:
        halTest(config_xml = "none_tcp_config.xml",
                class_name = "TakeMovie1",
                test_module = "storm_control.test.hal.manual_tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:9,代码来源:manual_tests.py


示例2: test_hal_film_1

def test_hal_film_1():

    # This is expected to record a movie called 'movie_01.dax'
    halTest(config_xml = "none_classic_config.xml",
            class_name = "FilmTest1",
            test_module = "storm_control.test.hal.film_tests")

    # Check that the movie is the right length.
    movie = datareader.inferReader(os.path.join(test.dataDirectory(), "movie_01.dax"))
    assert(movie.filmSize() == [512, 512, 10])
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:10,代码来源:test_hal_film.py


示例3: test_hal_film_5

def test_hal_film_5():
    """
    Test repeated film acquisition.
    """
    halTest(config_xml = "none_classic_config.xml",
            class_name = "FilmTest4",
            test_module = "storm_control.test.hal.film_tests")

    # Check that the final movie is correct.
    movie = datareader.inferReader(os.path.join(test.dataDirectory(), "movie_04.dax"))
    assert(movie.filmSize() == [512, 512, 1])
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:11,代码来源:test_hal_film.py


示例4: test_hal_film_2

def test_hal_film_2():

    # This is expected to record several movies with names starting with 'movie_02'
    halTest(config_xml = "none_classic_config.xml",
            class_name = "FilmTest2",
            test_module = "storm_control.test.hal.film_tests")

    # Check that the movies are the right length.
    for name, size in [["movie_02.dax", [512, 512, 10]],
                       ["movie_02_average.dax", [512, 512, 1]],
                       ["movie_02_interval.dax", [508, 256, 2]],
                       ["movie_02_slice1.dax", [64, 65, 10]]]:
        movie = datareader.inferReader(os.path.join(test.dataDirectory(), name))
        assert(movie.filmSize() == size)
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:14,代码来源:test_hal_film.py


示例5: test_hal_film_7

def test_hal_film_7():

    # This is expected to record several movies with names starting
    # with 'movie_01' and 'movie_02'.
    halTest(config_xml = "none_classic_config.xml",
            class_name = "FilmTest6",
            test_module = "storm_control.test.hal.film_tests")

    # Check that the movies are the right length.
    for name, size in [["movie_01.dax", [256, 256, 10]],
                       ["movie_01_slice1.dax", [128, 128, 10]],
                       ["movie_02.dax", [256, 256, 10]],
                       ["movie_02_slice1.dax", [128, 128, 10]]]:
        movie = datareader.inferReader(os.path.join(test.dataDirectory(), name))
        assert(movie.filmSize() == size)
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:15,代码来源:test_hal_film.py


示例6: test_hal_tcp_sflm_2

def test_hal_tcp_sflm_2():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "SetFocusLockMode2",
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:5,代码来源:test_hal_tcp_sflm.py


示例7: test_hal_tcp_sp_4

def test_hal_tcp_sp_4():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "SetProgression4",
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:5,代码来源:test_hal_tcp_sprogression.py


示例8: stage_move

def stage_move():
    halTest(config_xml = "none_tcp_config.xml",
            class_name = "MoveStage1",
            test_module = "storm_control.test.hal.manual_tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:4,代码来源:manual_tests.py


示例9: test_hal_tcp_slt1

def test_hal_tcp_slt1():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "SetLockTarget1",
            show_gui = True,
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:6,代码来源:test_hal_tcp_slt1.py


示例10: test_hal_gui

def test_hal_gui():
    halTest(config_xml = "none_classic_config.xml",
            class_name = "GUITest",
            test_module = "storm_control.test.hal.gui_test",
            show_gui = True)
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:5,代码来源:test_hal_gui.py


示例11: test_hal_tcp_tm_11

def test_hal_tcp_tm_11():

    halTest(config_xml = "none_tcp_config_spot_counter.xml",
            class_name = "TakeMovie11",
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:5,代码来源:test_hal_tcp_tm.py


示例12: test_hal_lock_config1

def test_hal_lock_config1():
    halTest(config_xml = "none_config_lock_check.xml",
            class_name = "LockConfigTest1",
            test_module = "storm_control.test.hal.config_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:4,代码来源:test_hal_lock_config1.py


示例13: test_hal_ms_1

def test_hal_ms_1():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "MoveStage1",
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:5,代码来源:test_hal_tcp_ms.py


示例14: dave_sequence

def dave_sequence():
    halTest(config_xml = "none_tcp_config.xml",
            class_name = "StandardDaveSequence1",
            test_module = "storm_control.test.hal.manual_tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:4,代码来源:manual_tests.py


示例15: test_hal_film_3

def test_hal_film_3():
    halTest(config_xml = "none_classic_config.xml",
            class_name = "FilmTest3",
            test_module = "storm_control.test.hal.film_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:4,代码来源:test_hal_film.py


示例16: test_hal_tcp_sp_1

def test_hal_tcp_sp_1():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "SetProgression1",
            show_gui = True,
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:6,代码来源:test_hal_tcp_sprogression.py


示例17: test_hal_tcp_nsm1

def test_hal_tcp_nsm1():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "NoSuchMessage1",
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:5,代码来源:test_hal_tcp_nsm1.py


示例18: test_hal_tcp_cfl_5

def test_hal_tcp_cfl_5():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "CheckFocusLock5",
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:5,代码来源:test_hal_tcp_cfl.py


示例19: test_hal_params_1

def test_hal_params_1():
    halTest(config_xml = "none_classic_config.xml",
            class_name = "ParamTest1",
            test_module = "storm_control.test.hal.param_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:4,代码来源:test_hal_params.py


示例20: test_hal_tcp_sflm_11

def test_hal_tcp_sflm_11():

    halTest(config_xml = "none_tcp_config.xml",
            class_name = "SetFocusLockMode1",
            show_gui = True,
            test_module = "storm_control.test.hal.tcp_tests")
开发者ID:ZhuangLab,项目名称:storm-control,代码行数:6,代码来源:test_hal_tcp_sflm.py



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python application.Application类代码示例发布时间:2022-05-27
下一篇:
Python storm_analysis.removeFile函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap