Batch_GOF_Scores#

class PySeismoSoil.class_gof_scores.Batch_GOF_Scores(list_of_scores: list[PySeismoSoil.class_gof_scores.GOF_Scores])[source]#

Bases: object

Run goodness-of-fit scoring in batch.

Methods Summary

run([parallel, n_cores, options])

Run gof scoring in batch.

Methods Documentation

run(parallel: bool = False, n_cores: int | None = 1, options: dict[str, Any] | None = None) list[PySeismoSoil.class_gof_scores.GOF_Scores][source]#

Run gof scoring in batch.

Parameters:
  • parallel (bool) – Whether to use multiple CPU cores to run simulations.

  • n_cores (int | None) – Number of CPU cores to be used. If None, all CPU cores will be used.

  • options (dict[str, Any] | None) – Options to be passed to the run() method for the GoF scoring.

Returns:

score_results – A list of the score objects containing computed scores.

Return type:

list[GOF_Scores]