diff --git a/src/stcal/jump/twopoint_difference.py b/src/stcal/jump/twopoint_difference.py index 3afec6c5..0ae9c231 100644 --- a/src/stcal/jump/twopoint_difference.py +++ b/src/stcal/jump/twopoint_difference.py @@ -26,7 +26,6 @@ def find_crs(dataa, group_dq, read_noise, twopt_p): twopt_p.flag_4_neighbors, twopt_p.max_jump_to_flag_neighbors, twopt_p.min_jump_to_flag_neighbors, - # twopt_p.dqflags, dqflags, twopt_p.after_jump_flag_e1, twopt_p.after_jump_flag_n1, diff --git a/src/stcal/jump/twopoint_difference_class.py b/src/stcal/jump/twopoint_difference_class.py index 1280577e..c14ac203 100644 --- a/src/stcal/jump/twopoint_difference_class.py +++ b/src/stcal/jump/twopoint_difference_class.py @@ -1,5 +1,3 @@ -# from .twopoint_difference import TwoPointParams - class TwoPointParams: def __init__(self, jump_data=None, copy_arrs=False): if jump_data is not None: @@ -60,7 +58,9 @@ def __init__(self, jump_data=None, copy_arrs=False): self.copy_arrs = copy_arrs def __repr__(self): - ostr = f"normal_rej_thresh = {self.normal_rej_thresh}\n" + delim = "-" * 60 + ostr = f"{delim}\n" + ostr += f"normal_rej_thresh = {self.normal_rej_thresh}\n" ostr += f"two_diff_rej_thresh = {self.two_diff_rej_thresh}\n" ostr += f"three_diff_rej_thresh = {self.three_diff_rej_thresh}\n" ostr += f"nframes = {self.nframes}\n\n" @@ -85,6 +85,9 @@ def __repr__(self): ostr += f"minimum_groups = {self.minimum_groups}\n" ostr += f"minimum_sigclip_groups = {self.minimum_sigclip_groups}\n" ostr += f"only_use_ints = {self.only_use_ints}\n" - ostr += f"min_diffs_single_pass = {self.min_diffs_single_pass}\n" + ostr += f"min_diffs_single_pass = {self.min_diffs_single_pass}\n\n" ostr += f"copy_arrs = {self.copy_arrs}\n" + ostr += f"{delim}\n" + + return ostr