ibllib.tests.test_plots

Classes

TestDlcQcPlot

TestLpQcPlot

TestMiscPlot

TestPlotPawstatesQC

TestSnapshot

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

Bases: TestCase

classmethod setUpClass()[source]

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

test_class_setup()[source]
test_snapshot_default()[source]
test_image_scaling()[source]
test_register_multiple()[source]
test_generate_image()[source]
classmethod tearDownClass()[source]

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

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

Bases: TestCase

classmethod setUpClass()[source]

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

classmethod tearDownClass()[source]

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

test_without_inputs()[source]
class TestLpQcPlot(methodName='runTest')[source]

Bases: TestCase

classmethod setUpClass()[source]

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

classmethod tearDownClass()[source]

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

test_without_inputs()[source]
class TestMiscPlot(methodName='runTest')[source]

Bases: TestCase

test_star_plot()[source]
test_wiggle()[source]
class TestPlotPawstatesQC(methodName='runTest')[source]

Bases: TestCase

N_FRAMES = 200
FPS = 60.0
TRACKER = 'lightningPose'
PAW = 'paw_l'
CAMERA = 'left'
classmethod setUpClass()[source]

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

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_all_none_data()[source]

All panels show a placeholder without raising when data values are None.

test_with_synthetic_data()[source]

Figure renders without error when given valid synthetic data.