def METHOD_NAME(
    self, shape="SIN", frequency=1e6, units="VPP", amplitude=1, offset=0
):
    """General setting method for a complete wavefunction"""
    self.write("function:shape %s" % shape)
    self.write("frequency:fixed %e" % frequency)
    self.write("voltage:unit %s" % units)
    self.write("voltage:amplitude %e%s" % (amplitude, units))
    self.write("voltage:offset %eV" % offset)