本文整理汇总了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;未经允许,请勿转载。 |
请发表评论