ibllib.tests.qc.test_camera_qc

Classes

TestCameraQC

class TestCameraQC(methodName='runTest')[source]

Bases: TestCase

backend = ''
classmethod setUpClass() None[source]

Hook method for setting up class fixture before running tests in the class.

classmethod tearDownClass() None[source]

Hook method for deconstructing the class fixture after running all tests in the class.

setUp() None[source]

Hook method for setting up the test fixture before exercising it.

tearDown() None[source]

Hook method for deconstructing the test fixture after testing it.

test_check_brightness()[source]
test_check_file_headers()[source]
test_check_framerate()[source]
test_check_pin_state()[source]
test_check_dropped_frames()[source]
test_check_focus()[source]
test_check_position()[source]
test_check_resolution()[source]
test_check_timestamps()[source]
test_check_camera_times()[source]
test_check_wheel_alignment()[source]

This just checks data validation. Integration tests test the MotionAlignment class

test_get_active_wheel_period()[source]

Check that warning is raised, period is returned None, and QC is NOT_SET if there is active wheel period to be found

test_ensure_data()[source]
test_get_task_collection()[source]

Test for ibllib.qc.camera.get_task_collection