Skip to content

Commit

Permalink
fix: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Oct 9, 2024
1 parent 5b54744 commit d5d2b63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/invert4geom/inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ def run_inversion(
return results


def run_inversion_workflow( # equivalent to monte_carlo_full_workflow
def run_inversion_workflow(
grav_df: pd.DataFrame,
create_starting_topography: bool = False,
create_starting_prisms: bool = False,
Expand Down
5 changes: 0 additions & 5 deletions src/invert4geom/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,6 @@ def optimize_inversion_zref_density_contrast(
calculate_regional_misfit=True,
zref=best_zref,
density_contrast=best_density_contrast,
plot_convergence=True,
fname=fname,
**new_kwargs,
)
Expand Down Expand Up @@ -1787,10 +1786,6 @@ def optimize_inversion_zref_density_contrast_kfolds(
test_dfs, train_dfs = cross_validation.kfold_df_to_lists(testing_training_df)
log.info("Constraints split into %s folds", len(test_dfs))

# for i in range(len(test_dfs)):
# log.info("points in fold %s train set:", len(train_dfs[i]))
# log.info("point in fold %s test set:", len(test_dfs[i]))

regional_grav_kwargs = kwargs.pop("regional_grav_kwargs", None)

starting_topography_kwargs = kwargs.pop("starting_topography_kwargs", None)
Expand Down

0 comments on commit d5d2b63

Please sign in to comment.