def METHOD_NAME(self, *args, **kwargs):
    """Carry out DC and IP inversion."""
    super().METHOD_NAME(*args, **kwargs)  # DC first (not needed for FD)
    if self.isfd:
        self.invertFDIP()
    else:
        self.invertTDIP()