def METHOD_NAME(self, parent=None):
    peakModel = PeakModel(parent)
    peakModel.setName(self.name())
    peakModel.setColor(self.color())
    peakModel.setCoords(self.coords())
    peakModel.setRingNumber(self.ringNumber())
    peakModel.setEnabled(self.isEnabled())
    return peakModel