digraph inheritance990622322e { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "Nifti1Extensions" [shape=ellipse,URL="#nibabel.nifti1.Nifti1Extensions",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=14,color=dodgerblue1,style=filled,tooltip="Simple extension collection, implemented as a list-subclass.",height=0.75]; }
Simple extension collection, implemented as a list-subclass.
Returns the number of extensions matching a given ecode.
Parameters: | code : int | str
|
---|
Read header extensions from a fileobj
Parameters: | fileobj : file-like object
size : int
byteswap : boolean
|
---|---|
Returns: | An extension list. This list might be empty in case not extensions : were present in fileobj. : |
Return a list of the extension code of all available extensions
Return the size of the complete header extensions in the NIfTI file.
Write header extensions to fileobj
Write starts at fileobj current file position.
Parameters: | fileobj : file-like object
byteswap : boolean
|
---|---|
Returns: | None : |