Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit typos in notes #264

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions tests/test_northup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def test_northup(save_derot_dataset=False,save_comp_figure=False):
save_derot_dataset (optional): if you want to save the derotated file at the input directory, turn True
save_comp_figure (optional): if you want to save a comparison figure of the original mock data and the derotated data

Returns:
Fits containing the original mock image and the derotated image, with the roll angle recorded
"""

# read mock file
Expand Down Expand Up @@ -47,7 +45,7 @@ def test_northup(save_derot_dataset=False,save_comp_figure=False):
assert(im_input[y_value1,x_value1] != im_derot[y_value1,x_value1])
assert(dq_input[y_value1,x_value1] != dq_derot[y_value1,x_value1])

# check if the derotated DQ frame has no integer values (except NaN)
# check if the derotated DQ frame has no non-integer values (except NaN)
non_integer_mask = (~np.isnan(dq_derot)) & (dq_derot % 1 != 0)
non_integer_indices = np.argwhere(non_integer_mask)
assert(len(non_integer_indices) == 0)
Expand Down
Loading