@property
    def array(self):
        if self.cnstnt == 0.0:
            cnstnt = 1.0
        else:
            cnstnt = self.cnstnt
        # return a copy of self._array since it is being
        # multiplied
        return (self._array * cnstnt).astype(self.dtype)
Decorator to execute a function on a specific schedule.
dataset/ETHPy150Open modflowpy/flopy/flopy/utils/util_array.py/Util2d.array--crossover with--dataset/ETHPy150Open coleifer/huey/huey/api.py/Huey.periodic_task