dacapo.experiments.datasplits.datasets.arrays.constant_array_config =================================================================== .. py:module:: dacapo.experiments.datasplits.datasets.arrays.constant_array_config Classes ------- .. autoapisummary:: dacapo.experiments.datasplits.datasets.arrays.constant_array_config.ConstantArrayConfig Module Contents --------------- .. py:class:: ConstantArrayConfig This array read data from the source array and then return a np.ones_like() version. This is useful for creating a mask array from a source array. For example, if you have a 2D array of data and you want to create a mask array that is the same shape as the data array, you can use this class to create the mask array. .. attribute:: source_array_config The source array that you want to copy and fill with ones. .. method:: create_array Create the array. .. note:: This class is a subclass of ArrayConfig. .. py:attribute:: array_type .. py:attribute:: source_array_config :type: dacapo.experiments.datasplits.datasets.arrays.array_config.ArrayConfig .. py:attribute:: constant :type: int