ekomark.navigator package

Ekomark specialization of the navigator.

ekomark.navigator.yelp(*args)[source]

Help function (renamed to avoid clash of names) - short cut: h.

ekomark.navigator.register_globals(configpath)[source]

Expose global variables.

ekomark.navigator.launch_navigator()[source]

CLI Entry point.

Submodules

ekomark.navigator.glob module

Global variables register.

ekomark.navigator.navigator module

EKO implementation of navigator.

class ekomark.navigator.navigator.NavigatorApp(cfgpath, external=None)[source]

Bases: NavigatorApp

Navigator base class holding all elementry operations.

Parameters:
  • cfg (dict) – banana configuration

  • mode (str) – mode identifier

myname = 'eko'
table_objects = {'c': <class 'banana.data.db.Cache'>, 'l': <class 'banana.data.db.Log'>, 'o': <class 'ekomark.data.db.Operator'>, 't': <class 'banana.data.db.Theory'>}
fill_theories(theo, obj)[source]

Collect important information of the theory record.

Parameters:
  • theo (dict) – database record

  • obj (dict) – to be updated pandas record

fill_operators(op, obj)[source]

Collect important information of the operator record.

Parameters:
  • op (dict) – database record

  • obj (dict) – to be updated pandas record

fill_cache(cac, obj)[source]

Collect important information of the cache record.

Parameters:
  • cac (dict) – database record

  • obj (dict) – to be updated pandas record

fill_logs(lg, obj)[source]

Collect important information of the log record.

Parameters:
  • lg (dict) – database record

  • obj (dict) – to be updated pandas record

check_log(doc_hash, perc_thr=1, abs_thr=1e-06)[source]

Check if the log passed the default assertions.

Parameters:

doc_hash (hash) – log hash

plot_pdfs(doc_hash)[source]

Plot all PDFs at the final scale.

Parameters:

doc_hash (hash) – log hash

display_pdfs(doc_hash)[source]

Display PDF generated by ekomark.navigator.navigator.plot_pdfs.

Parameters:

doc_hash (hash) – log hash

static is_valid_physical_object(name)[source]

Check if is actual name.

Parameters:

name (str) – name

Returns:

is actual name?

Return type:

bool

compare_external(dfd1, dfd2)[source]

Compare two results in the cache.

It’s taking two results from external benchmarks and compare them in a single table.

Parameters:
  • dfd1 (dict or hash) – if hash the doc_hash of the cache to be loaded

  • dfd2 (dict or hash) – if hash the doc_hash of the cache to be loaded