Skip to content

Commit

Permalink
Merge pull request #11 from spacetelescope/develop
Browse files Browse the repository at this point in the history
update wavecal order2 poly method to not depend on offset
  • Loading branch information
tbainesUA authored Apr 4, 2024
2 parents d2ca81e + a22ff7e commit f1a1f47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pastasoss/wavecal.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ def get_poly_features(x: np.array, offset: np.array) -> np.ndarray:
x_scaled = x_scaler(x)

# offset
offset = np.ones_like(x) * (pwcpos - PWCPOS_CMD)
# offset = np.ones_like(x) * (pwcpos - PWCPOS_CMD)
# this will need to get changed later...
offset = np.ones_like(x) * pwcpos
offset_scaled = pwcpos_offset_scaler(offset)

# polynomial features
Expand Down

0 comments on commit f1a1f47

Please sign in to comment.