def METHOD_NAME(self, filename, header=None):
    """
    Saves the current automatic extracted background data pattern to file
    :param filename: where to save
    :param header: you can specify any specific header
    """
    self.pattern.auto_background_pattern.save(filename, header, unit=self.unit)