dacapo.experiments.datasplits.datasets.dataset

Classes

Dataset

A class to represent a dataset.

Module Contents

class dacapo.experiments.datasplits.datasets.dataset.Dataset

A class to represent a dataset.

name

The name of the dataset.

Type:

str

raw

The raw dataset.

Type:

Array

gt

The ground truth data.

Type:

Array, optional

mask

The mask for the data.

Type:

Array, optional

weight

The weight of the dataset.

Type:

int, optional

sample_points

The list of sample points in the dataset.

Type:

list[Coordinate], optional

__eq__(other)

Overloaded equality operator for dataset objects.

__hash__()

Calculates a hash for the dataset.

__repr__()

Returns the official string representation of the dataset object.

__str__()

Returns the string representation of the dataset object.

_neuroglancer_layers(prefix='', exclude_layers=None)

Generates neuroglancer layers for raw, gt and mask if they can be viewed by neuroglance, excluding those in the exclude_layers.

Notes

This class is a base class and should not be instantiated.

name: str
raw: funlib.persistence.Array
gt: funlib.persistence.Array | None
mask: funlib.persistence.Array | None
weight: int | None
sample_points: List[funlib.geometry.Coordinate] | None