def copyFrom(self, item):
    super().copyFrom(item)
    self.temperature.copyFrom(item.temperature)
    self.magneticField.copyFrom(item.magneticField)
    self.axes.copyFrom(item.axes)
    self.spectra.copyFrom(item.spectra)
    self.hamiltonian.copyFrom(item.hamiltonian)
def copyFrom(self, item):
    super().copyFrom(item)
    self.temperature.copyFrom(item.temperature)
    self.magneticField.copyFrom(item.magneticField)
    self.axes.copyFrom(item.axes)
    self.spectra.copyFrom(item.spectra)
    self.hamiltonian.copyFrom(item.hamiltonian)