diff --git a/bo-ptycho.py b/bo_ptycho.py similarity index 99% rename from bo-ptycho.py rename to bo_ptycho.py index 879caf4..d1555e3 100644 --- a/bo-ptycho.py +++ b/bo_ptycho.py @@ -12,7 +12,6 @@ def ptycho_run(config): # Add more ptycho engines here as needed # write their respective run functions and import them above - def ptycho_error(config): ptycho_engine = config['ptycho']['engine'] @@ -20,7 +19,6 @@ def ptycho_error(config): from ptycho.fold_slice import error return error(config) - def bo_initialize(config): bo_algorithm = config['bo']['algorithm'] @@ -34,7 +32,6 @@ def bo_initialize(config): return bo_state - def bo_ask(config, bo_state): bo_engine = config['bo']['algorithm'] @@ -51,7 +48,6 @@ def bo_ask(config, bo_state): return next_config - def bo_tell(config, job_config, bo_state, y_value): bo_engine = config['bo']['algorithm'] @@ -65,7 +61,6 @@ def bo_tell(config, job_config, bo_state, y_value): return bo_state - def main(config): bo_state = bo_initialize(config)