nibabel.volumeutils¶
Utility functions for analyze-like formats
Module Attributes
|
default compression level when writing gz and bz2 files |
|
file-like classes known to hold compressed data |
Functions
|
Compatibility wrapper for old |
|
Apply scaling in slope and inter to array arr |
|
Get array from file with specified shape, dtype and file offset |
|
Helper function for writing arrays to file objects |
|
Smallest float type to contain range of |
|
Return more capable float type of first and second |
|
Get range (min, max) or range and flag (min, max, has_nan) from arr |
|
fname with ext changed to upper / lower case if file exists |
|
float type containing int type ifmt * slope + inter |
|
Create full dt codes Recoder instance from datatype codes |
|
Make pretty string from mapping |
|
Convert recarray to dictionary |
|
Seek in fileobj or check we're in the right place already |
|
Get affine implied by given shape and zooms |
|
Return array type from applying slope, inter to array of in_type |
|
Write count zero bytes to fileobj |
Classes
|
Class to accept, maybe open, and context-manage file-likes / filenames |
|
Specialized mapper for numpy dtypes |
|
class to return canonical code(s) from code or aliases |