Skip to content

Commit

Permalink
fix misnamed spectral response method.
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-j committed Aug 8, 2024
1 parent 768c689 commit 9f00d08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prospect/observation/observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def instrumental_smoothing(self, model_wave_obsframe, model_flux, zred=0, libres
return outspec_padded[self._unpadded_inds]


def instrumental_response(self, **extras):
def compute_response(self, **extras):
if self.response is not None:
return self.response
else:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_polycal.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def build_obs(multispec=False):
return obslist


def test_polycal(plot=False):
def test_polycal(get_sps, plot=False):
"""Make sure the polynomial optimization works
"""
sps = get_sps
Expand Down

0 comments on commit 9f00d08

Please sign in to comment.