def set_monochromatic(self, monochromatic, wavelengths=None, frequencies=None):

        if frequencies is not None:
            logger.warn("The frequencies= option will soon be deprecated - please specify wavelengths instead.")

        self._monochromatic = monochromatic

        if self._monochromatic:

            if wavelengths is not None:
                self._frequencies = c / (np.array(wavelengths) * 1.e-4)
            elif frequencies is not None:
                self._frequencies = frequencies
            else:
                raise Exception("Need to specify wavelengths")

            for images in self.peeled_output:
                images._set_monochromatic(True, frequencies=self._frequencies)

            if self.binned_output is not None:
                raise Exception("Binned images cannot be computed in monochromatic mode")

        else:

            if wavelengths is not None:
                raise Exception("Cannot specify monochromatic wavelengths if monochromatic=False")

            self._frequencies = None
The icon representing the status of the log
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/model/model.py/Model.set_monochromatic--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/app/qt/application.py/GlueLogger.status_light