def METHOD_NAME(self, filename):
    """Save an operator to an mrl file"""
    if self.lut is None:
        raise Exception("No operator loaded")
    with open(filename, "wb") as f:
        f.write(self.lut)