pipeline.py
Device
¶
Bases: dj.Lookup
Table for managing lab equipment.
Attributes:
| Name | Type | Description |
|---|---|---|
device |
varchar(32)
|
Device short name. |
modality |
varchar(64)
|
Modality for which this device is used. |
description |
varchar(256)
|
Optional. Description of device. |
Source code in workflow_zstack/reference.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
get_volume_root_data_dir()
¶
Return root directory for volumetric data in dj.config
Returns:
| Name | Type | Description |
|---|---|---|
path |
any
|
List of path(s) if available or None |
Source code in workflow_zstack/paths.py
9 10 11 12 13 14 15 16 17 18 19 20 21 | |
get_volume_tif_file(scan_key)
¶
Retrieve the ScanImage file associated with a given Scan.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
scan_key |
dict
|
Primary key from Scan. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
path |
str
|
Absolute path of the scan file. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the tiff file(s) are not found. |
Source code in workflow_zstack/paths.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | |