niprov.fif module¶
-
class
niprov.fif.
FifFile
(location, **kwargs)¶ Bases:
niprov.basefile.BaseFile
-
attach
(form='json')¶ Attach the current provenance to the file by appending it as a json-encoded string to the ‘description’ header field.
This is only attempted if the file has been inspect()-ed and has been determined to be a raw fif file.
Parameters: form (str) – Data format in which to serialize provenance. Defaults to ‘json’.
-
inspect
()¶
-