'Save digitization points to FIF.
Parameters
fname : str
The filename to use. Should end in .fif or .fif.gz.'

def save(self, fname):

    if (self.coord_frame != 'head'):
        raise RuntimeError('Can    only    write    out    digitization    points    in    head    coordinates.')
    write_dig(fname, self._get_dig())
