'Save an operator to an mrl file'

def save_lut(self, filename):

    if (self.lut is None):
        raise Exception('No    operator    loaded')
    with open(filename, 'wb') as f:
        f.write(self.lut)
