Skip to content

Commit 9a1f406

Browse files
committed
enforce kwargs
1 parent 37d4f3f commit 9a1f406

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/pst/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,8 @@ def resample_via_bin_frac(
416416
return f_out, var_out
417417

418418

419-
def flux_conserving_interpolation(new_wave, wave, spectra, method="cumulative",
419+
def flux_conserving_interpolation(new_wave, wave, spectra, *,
420+
method="binfrac",
420421
spectra_err=None, **interp_args):
421422
"""
422423
High-level wrapper for flux-conserving spectral resampling.

0 commit comments

Comments
 (0)