Skip to content

Commit

Permalink
use_wavelet = False
Browse files Browse the repository at this point in the history
  • Loading branch information
lytex committed Sep 6, 2024
1 parent 49c91d1 commit badefe3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions optuna_trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,12 @@ def objective(trial, global_level_list=None, local_level_list=None, use_wavelet=
# global_level_list = (1, 5,)
# local_level_list = (1, 3,)

if len(trial.params["global_level_list"]) == 0 and len(trial.params["local_level_list"]) == 0:
# if len(trial.params["global_level_list"]) == 0:
use_wavelet = False
else:
use_wavelet = True
# if len(trial.params["global_level_list"]) == 0 and len(trial.params["local_level_list"]) == 0:
# # if len(trial.params["global_level_list"]) == 0:
# use_wavelet = False
# else:
# use_wavelet = True
use_wavelet = False

if use_wavelet:
lightcurves = lightcurves_wavelet
Expand Down

0 comments on commit badefe3

Please sign in to comment.