dacapo.experiments.datasplits.datasets.dataset ============================================== .. py:module:: dacapo.experiments.datasplits.datasets.dataset Classes ------- .. autoapisummary:: dacapo.experiments.datasplits.datasets.dataset.Dataset Module Contents --------------- .. py:class:: Dataset A class to represent a dataset. .. attribute:: name The name of the dataset. :type: str .. attribute:: raw The raw dataset. :type: Array .. attribute:: gt The ground truth data. :type: Array, optional .. attribute:: mask The mask for the data. :type: Array, optional .. attribute:: weight The weight of the dataset. :type: int, optional .. attribute:: sample_points The list of sample points in the dataset. :type: list[Coordinate], optional .. method:: __eq__(other) Overloaded equality operator for dataset objects. .. method:: __hash__() Calculates a hash for the dataset. .. method:: __repr__() Returns the official string representation of the dataset object. .. method:: __str__() Returns the string representation of the dataset object. .. method:: _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. .. rubric:: Notes This class is a base class and should not be instantiated. .. py:attribute:: name :type: str .. py:attribute:: raw :type: dacapo.experiments.datasplits.datasets.arrays.Array .. py:attribute:: gt :type: Optional[dacapo.experiments.datasplits.datasets.arrays.Array] .. py:attribute:: mask :type: Optional[dacapo.experiments.datasplits.datasets.arrays.Array] .. py:attribute:: weight :type: Optional[int] .. py:attribute:: sample_points :type: Optional[List[funlib.geometry.Coordinate]]