code: def on_save_interpretation_button(self, event):
          
          if "specimen_int_uT" not in self.Data[self.s]['pars']:
              return
          if 'deleted' in self.Data[self.s]['pars']:
              self.Data[self.s]['pars'].pop('deleted')
          self.Data[self.s]['pars']['saved'] = True
  
          # collect all interpretation by sample
          sample = self.Data_hierarchy['specimens'][self.s]
          if sample not in list(self.Data_samples.keys()):
              self.Data_samples[sample] = {}
          if self.s not in list(self.Data_samples[sample].keys()):
              self.Data_samples[sample][self.s] = {}
          self.Data_samples[sample][self.s]['B'] = self.Data[self.s]['pars']["specimen_int_uT"]
  
          # collect all interpretation by site
          # site=thellier_gui_lib.get_site_from_hierarchy(sample,self.Data_hierarchy)
          site = thellier_gui_lib.get_site_from_hierarchy(
              sample, self.Data_hierarchy)
          if site not in list(self.Data_sites.keys()):
              self.Data_sites[site] = {}
          if self.s not in list(self.Data_sites[site].keys()):
              self.Data_sites[site][self.s] = {}
          self.Data_sites[site][self.s]['B'] = self.Data[self.s]['pars']["specimen_int_uT"]
  
          self.draw_sample_mean()
          self.write_sample_box()
          self.close_warning = True
docs: save the current interpretation temporarily (not to a file)