def METHOD_NAME(self, data, ind = None):
    if self.transform_type == 'z-transform':
        if ind is not None:
            return data * self.std_x[ind] + self.mean_x[ind]
        else:
            return data * self.std_x + self.mean_x
    else:
        return data