Labber¶
The Labber connector synchronizes datasets from Labber measurement log files (.hdf5).
| Package | etiket_sync_agent_labber |
| Identifier | etiket_sync_agent_labber |
| Type | File-based |
| Scope | Required default scope |
| Live sync | No |
Installation¶
In the DataQruiser app, go to the sync page and open Sync Settings with the gear button (top left). On the Connectors tab, find Labber in the Available list and click Install. If it isn't listed, use Install Connector → Install from PyPI with etiket_sync_agent_labber as the package name.
Configuration¶
| Parameter | Type | Description |
|---|---|---|
labber_directory |
path | The root of the Labber data directory to watch. |
set_up |
str | Name identifying the measurement setup; used to tag datasets from this source. |
Create a sync source¶
from qdrive.scopes import get_scopes
from etiket_sdk.sync import SyncSources
print(get_scopes()) # find the scope UUID you want to sync to
source = SyncSources.create(
name="my_labber_source",
connector_identifier="etiket_sync_agent_labber",
config_data={
"labber_directory": "~/Labber/Data",
"set_up": "fridge-1",
},
default_scope="6c319227-f6f8-4bc6-b7f9-ed278a8fb040",
)
You can also add this source from the DataQruiser app.
Notes¶
Labber stores log files in a dated directory structure; the connector detects each .hdf5 log file four directory levels below labber_directory as a dataset.