main¶
- nibabel.cmdline.dicomfs.main(args=None)¶
Functionality to be exposed in the command line
DICOMFS(*args, **kwargs) | |
FileHandle(fno) | |
dummy_fuse | Dummy fuse “module” so that nose does not blow during doctests |
get_opt_parser() | |
main([args]) |
Output a summary table for neuroimaging files (resolution, dimensionality, etc.)
get_opt_parser() | |
main([args]) | Show must go on |
proc_file(f, opts) |
Code for PAR/REC to NIfTI converter command
error(msg, exit_code) | |
get_opt_parser() | |
main() | |
proc_file(infile, opts) | |
verbose(msg[, indent]) |
Helper utilities to be used in cmdline applications
ap(helplist, format_[, sep]) | Little helper to enforce consistency |
safe_get(obj, name) | A getattr which would return ‘-‘ if getattr fails |
table2string(table[, out]) | Given list of lists figure out their common widths and print to out |
verbose(thing, msg) | Print s if thing is less than the verbose_level |
A getattr which would return ‘-‘ if getattr fails
Given list of lists figure out their common widths and print to out
Parameters: | table : list of lists of strings
out : None or stream
|
---|---|
Returns: | string if out was None : |