def _action_plot_parameters(): ''' Visual representation of differences in parameter values. Parsing json, log, input, or pkl files. ''' from cerman.analyze_cm import plot_parameters as func logger.info('Creating parameter plot(s).') func(fpath, glob=pargs.glob, options=pargs.options)
def _action_plot_iteration(): ''' Create plots from one or more iterations of one or more simulations. ''' from cerman.analyze_cm import plot_iteration as func logger.info(f'Creating iteration plot(s) of type: {pargs.kind}') func(fpath, plot_kind=pargs.kind, glob=pargs.glob, idxes=pargs.idxes, options=pargs.options)
def _action_create_movie(): ''' Create a movie by combining images. ''' from cerman.analyze.movie import create_movie as func logger.info('Plotting movie') func(fpath, fps=pargs.number, fpath_out=pargs.options)
def _action_plot_results(): ''' Plot results from several simulations in the same plot. ''' from cerman.analyze_cm import plot_results as func logger.info('Creating combination plots.') func(fpath, plot_kind=pargs.kind, glob=pargs.glob, options=pargs.options)
def _action_plot_stop_reason(): ''' Visual representation of reason for simulation termination. ''' from cerman.analyze_cm import plot_reason_for_stop as func logger.info('Creating stop reason plot(s).') func(fpath, glob=pargs.glob, options=pargs.options)
def _action_plot_json(): ''' Create plots from one or more json-files. ''' from cerman.analyze_cm import plot_json as func logger.info(f'Creating plot(s) from json file(s)') func(fpath, glob=pargs.glob, options=pargs.options)
def _action_create_archive(): ''' Analyze data files and archive results. ''' from cerman.analyze_cm import create_archive as func logger.info('Loading and parsing saved data to archive') func(fpath, glob=pargs.glob, options=pargs.options)
def _action_inspect_data(): ''' Print data in save file. ''' from cerman.analyze.inspect_data import inspect_data as func logger.info('Printing saved data') func(fpath, glob=pargs.glob, idxes=pargs.idxes, options=pargs.options)
def _action_dump_defaults(): ''' Dump default parameters to file. ''' from cerman.simulation_input.input_tools import dump_defaults as func logger.info('Dumping default simulation parameters') func(fpath=fpath)