def METHOD_NAME(self):
    self.ready_event = gevent.event.Event()
    self.cmd_spectrum_start = self.get_command_object("cmdSpectrumStart")
    self.cmd_adjust_transmission = self.get_command_object("cmdAdjustTransmission")
    self.chan_spectrum_status = self.get_channel_object("chanSpectrumStatus")
    self.chan_spectrum_status.connect_signal("update", self.spectrum_status_update)
    self.chan_spectrum_consts = self.get_channel_object("chanSpectrumConsts")
    self.chan_scan_error = self.get_channel_object("chanSpectrumError")
    self.chan_scan_error.connect_signal("update", self.scan_error_update)
    self.config_filename = self.get_property("configFile")
    self.write_in_raw_data = False
    self.mca_calib = [
        x / 1000.0 for x in self.chan_spectrum_consts.get_value()
    ]  # converted from eV to keV