Skip to content

Commit

Permalink
iaxis to axis
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Mar 7, 2023
1 parent 16143c3 commit d8a5369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydl/pydlspec2d/spec2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def filter_thru(flux, waveimg=None, wset=None, mask=None,
pixnorm, logdiff = traceset2xy(diffset)
logdiff = np.absolute(logdiff)
if mask is not None:
flux_interp = djs_maskinterp(flux, mask, iaxis=0)
flux_interp = djs_maskinterp(flux, mask, axis=0)
res = np.zeros((nTrace, len(ffiles)), dtype=flux.dtype)
for i, f in enumerate(ffiles):
filter_data = ascii.read(f, comment='#.*', names=('lam', 'respt',
Expand Down

0 comments on commit d8a5369

Please sign in to comment.