ekomark.benchmark package

Benchmark implementation for EKO.

Subpackages

Submodules

ekomark.benchmark.runner module

Abstract layer for running the benchmarks.

class ekomark.benchmark.runner.Runner[source]

Bases: BenchmarkRunner

EKO specialization of the banana runner.

db_base_cls

alias of Base

rotate_to_evolution_basis = False
sandbox = False
plot_operator = False
log_to_stdout = True
static load_ocards(session, ocard_updates)[source]

Load operator cards.

Parameters:
  • session (sqlalchemy.session.Session) – DB ORM session

  • updates (dict) – modifiers

Returns:

cards – list of records

Return type:

list(dict)

static skip_pdfs(_theory)[source]

Specify PDFs to skip.

run_me(raw_theory, raw_ocard, _pdf)[source]

Run eko.

Parameters:
  • raw_theory (dict) – raw theory card

  • raw_ocard (dict) – raw operator card

  • pdf (lhapdf_type) – pdf

Returns:

out – DGLAP result

Return type:

dict

run_external(theory, ocard, pdf)[source]

Run external library.

Parameters:
  • theory (dict) – theory card

  • ocard (dict) – operator card

  • pdf (lhapdf_type) – pdf

Returns:

out – DGLAP result

Return type:

dict

log(theory, _, pdf, me, ext)[source]

Return a proper log table.

Parameters:
  • theory (dict) – theory card

  • pdf (lhapdf_type) – pdf

  • me (eko.output.Output) – eko output object containing all informations