Corrected names.

This commit is contained in:
jupfi 2024-04-26 12:22:28 +02:00
parent b7de6baa6b
commit 833f23675f

View file

@ -175,18 +175,17 @@ class TXRectFunction(RectFunction):
def __init__(self) -> None: def __init__(self) -> None:
super().__init__() super().__init__()
self.name = "TX Rectangular Pulse" self.name = "Rectangular"
def get_pixmap(self): def get_pixmap(self):
"""Returns the pixmaps of the function.""" """Returns the pixmaps of the function."""
return PulseParamters.TXRect() return PulseParamters.TXRect()
class TXSincFunction(SincFunction): class TXSincFunction(SincFunction):
def __init__(self) -> None: def __init__(self) -> None:
super().__init__() super().__init__()
self.name = "TX Sinc Pulse" self.name = "Sinc"
def get_pixmap(self): def get_pixmap(self):
"""Returns the pixmaps of the function.""" """Returns the pixmaps of the function."""
@ -197,7 +196,7 @@ class TXGaussianFunction(GaussianFunction):
def __init__(self) -> None: def __init__(self) -> None:
super().__init__() super().__init__()
self.name = "TX Gaussian Pulse" self.name = "Gaussian"
def get_pixmap(self): def get_pixmap(self):
"""Returns the pixmaps of the function.""" """Returns the pixmaps of the function."""
@ -208,7 +207,7 @@ class TXCustomFunction(CustomFunction):
def __init__(self) -> None: def __init__(self) -> None:
super().__init__() super().__init__()
self.name = "TX Custom Pulse" self.name = "Custom"
def get_pixmap(self): def get_pixmap(self):
"""Returns the pixmaps of the function.""" """Returns the pixmaps of the function."""