Load and inspect optiSLang OMDB files with Python:
from py_omdb import PyOMDB omdb = PyOMDB("/path/to/my.omdb") for param_name in omdb.get_parameter_names(): print(param_name) for best_design in omdb.get_best_designs(): print(best_design.get_id())
| TestingType |
|---|
| CROSSVALIDATION |
| LEAVEONEOUT |
write_cop_matrix_to_file( (PyOMDB)omdb, (Path)file [, (bool)condensed=False]) -> None
Write COP matrix from omdb to file.
Constructors
Properties
Properties
Methods
attach_file_path
attach_file_path( (AttachedPath)file) -> None
Attach a path to an external file.
----
attach_file_path( (id.html#UUID" class="pythontype">UUID)id, (AttachedPath)file) -> None
Attach a path to an external file by id.
CheckConsistency deprecated
extract_important_parameter_name_list
extract_important_parameter_name_list( [, (str)design_set]) -> WStrList
ExtractImportantParameterNameList deprecated
get_attached_file_paths
get_attached_file_paths() -> dict
Return a dictionay with ids as keys and attached paths as values.
get_best_designs
get_best_designs() -> PyOSDesignContainer
Get the best designs. Takes design activation state into account.
get_build_date
get_build_date() -> str
Return the build date of the application this database file has been created with.
get_design_duplication
get_design_duplication( (PyOSDesign)arg2) -> object
----
get_design_duplication( (HID)arg2) -> object
get_version
get_version() -> int
Return the version of the application this database file has been created with in the format 0xMMNNPP (MM = major, NN = minor, PP = maintenance).
get_version_str
get_version_str() -> str
Return the version of the application this database file has been created with.
get_version_suffix
get_version_suffix() -> str
Return the version suffix of the application this database file has been created with.
GetBestSubspaces deprecated
GetNominalDesign deprecated
GetParameterNames deprecated
GetReferenceDesign deprecated
GetResponseNames deprecated
GetSurrogateInfoNames deprecated
GetSurrogateInfos deprecated
is_design_active
is_design_active( (PyOSDesign)design) -> bool
Returns whether a design is active.
----
is_design_active( (HID)design) -> bool
Returns whether a design is active.
remove_file_path
remove_file_path( (id.html#UUID" class="pythontype">UUID)id) -> None
Remove attached file path by id.
SaveToFile deprecated
Constructors
Methods
GetCoP deprecated
GetImportantParameterNames deprecated
GetName deprecated
GetParamsSortedByCoP deprecated
GetSingleCoP deprecated
GetTestingType deprecated
HasCoP deprecated
HasSingleCoP deprecated