def METHOD_NAME(self, mcaData, mcaCalib, mcaConfig):
    xrf_spectrum = self.get_data_model()
    spectrum_file_path = os.path.join(
        xrf_spectrum.path_template.directory,
        xrf_spectrum.path_template.get_prefix(),
    )
    spectrum_file_archive_path = os.path.join(
        xrf_spectrum.path_template.get_archive_directory(),
        xrf_spectrum.path_template.get_prefix(),
    )
    xrf_spectrum.result.mca_data = mcaData
    xrf_spectrum.result.mca_calib = mcaCalib
    xrf_spectrum.result.mca_config = mcaConfig
    logging.getLogger("user_level_log").info("XRF spectrum finished.")
    self.get_view().setText(1, "Done")