ibllib.tests.integration.test_brainbox_io

Classes

TestReadChannels

TestReadSpikeSorting

TestSessionLoader

TestSpikeInterface

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

Bases: TestCase

test_spike_interface()[source]

Those are the specifications for the spike interface tests to pass. :return:

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

Bases: TestCase

test_read_channels()[source]
class TestReadSpikeSorting(*args, **kwargs)[source]

Bases: IntegrationTest

required_files = ['brainbox/io/spike_sorting']

An optional list of required files/folders to glob for, relative to data_path.

setUp() None[source]

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

test_channel_conversion_interpolation()[source]
test_display_spike_sorting()[source]
test_read_spike_sorting()[source]
test_samples2times()[source]
class TestSessionLoader(*args, **kwargs)[source]

Bases: IntegrationTest

required_files = ['ephys/choice_world_init/KS022/2019-12-10/001']

An optional list of required files/folders to glob for, relative to data_path.

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.

test_load_trials_data()[source]
test_load_wheel()[source]
test_load_pose()[source]
test_load_motion_energy()[source]
test_load_pupil()[source]
test_load_session_data()[source]