mirror of
https://github.com/c-sooyoung/bo-ptycho.git
synced 2026-09-17 18:29:07 +09:00
renamed
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user