dacapo.experiments.datasplits.datasets.arrays.concat_array_config ================================================================= .. py:module:: dacapo.experiments.datasplits.datasets.arrays.concat_array_config Classes ------- .. autoapisummary:: dacapo.experiments.datasplits.datasets.arrays.concat_array_config.ConcatArrayConfig Module Contents --------------- .. py:class:: ConcatArrayConfig This array read data from the source array and then return a np.ones_like() version of the data. .. attribute:: channels An ordering for the source_arrays. :type: List[str] .. attribute:: source_array_configs A mapping from channels to array_configs. If a channel has no ArrayConfig it will be filled with zeros :type: Dict[str, ArrayConfig] .. attribute:: default_config An optional array providing the default array per channel. If not provided, missing channels will simply be filled with 0s :type: Optional[ArrayConfig] .. method:: __attrs_post_init__(self) This method is called after the instance has been initialized by the constructor. It is used to set the default_config to an instance of ArrayConfig if it is None. .. method:: get_array(self, source_arrays Dict[str, np.ndarray]) -> np.ndarray: This method reads data from the source array and then return a np.ones_like() version of the data. .. note:: This class is used to create a ConcatArray object which is used to read data from the source array and then return a np.ones_like() version of the data. The source array is a dictionary with the key being the channel and the value being the array. .. py:attribute:: array_type .. py:attribute:: channels :type: List[str] .. py:attribute:: source_array_configs :type: Dict[str, dacapo.experiments.datasplits.datasets.arrays.array_config.ArrayConfig] .. py:attribute:: default_config :type: Optional[dacapo.experiments.datasplits.datasets.arrays.array_config.ArrayConfig]