API reference: Datasets¶
The Dataset bundle and the exported singletons.
Dataset¶
Dataset ¶
Bases: object
Bundle of a transform and a streamline for a single dataset.
The recommended entry points are the exported minnie_ds and v1dd_ds
singletons. Use :meth:transform and :meth:streamline, each of which takes a
resolution ("nm" (default), "vx", or an [x, y, z] list) and an
optional version.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Dataset name; must match a key in the version registries. |
required |
transform_fn
|
callable
|
Factories with signature |
required |
streamline_fn
|
callable
|
Factories with signature |
required |
Source code in standard_transform/datasets.py
transform ¶
Transform into oriented microns for input at resolution.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
resolution
|
str or array - like
|
|
'nm'
|
version
|
str
|
Transform version; by default the latest. See :meth: |
None
|
Source code in standard_transform/datasets.py
streamline ¶
Streamline for input at resolution (data-derived field where available).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
resolution
|
str or array - like
|
|
'nm'
|
version
|
str
|
Streamline version; by default the latest. See :meth: |
None
|
Source code in standard_transform/datasets.py
available_versions ¶
Singletons¶
standard_transform.minnie_ds— the Minnie65 dataset bundle.standard_transform.v1dd_ds— the V1dd dataset bundle.
Both are instances of Dataset. See Datasets for a
task-oriented overview.