niprov.nifti module

class niprov.nifti.NiftiFile(location, **kwargs)

Bases: niprov.basefile.BaseFile

attach(form='json')

Attach the current provenance to the file by injecting it as a json-encoded extension to the nifti header.

Parameters:form (str) – Data format in which to serialize provenance. Defaults to ‘json’.
inspect()