Implementation of diagnostic command line tools
Tools are:
This module has the logic for each command.
The command script files deal with argument parsing and any custom imports. The implementation here accepts the args object from argparse and does the work.
Calculate, write results from diagnostic screen
Parameters: | args : object
|
---|---|
Returns: | res : dict
|
Load img_fname, check time_axis, slice_axis or use default
Parameters: | img_fname : str
time_axis : None or str or int, optional
slice_axis : None or str or int, optional
|
---|---|
Returns: | img : Image instance
time_axis : int or str
slice_axis : int or str
|
Generate tsdiffana plots from command line params args
Parameters: | args : object
|
---|---|
Returns: | axes : Matplotlib axes
|