ibllib.tests.extractors.test_mesoscope

Tests for ibllib.io.extractors.mesoscope module.

Classes

TestMesoscopeSyncTimeline

Tests for MesoscopeSyncTimeline extractor class.

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

Bases: TestCase

Tests for MesoscopeSyncTimeline extractor class.

setUp() None[source]

Simulate for meta data for 9 FOVs at 3 different depths.

These simulated values match those from SP048/2024-02-05/001.

test_get_timeshifts_multidepth()[source]

Test MescopeSyncTimeline.get_timeshifts method.

This tests output when given multiple FOVs at different depths. The tasks/mesoscope_tasks.py module in iblscripts more thoroughly tests single-depth imaging with real data.