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

Feature/visualize residuals with noise map #46

Merged
merged 7 commits into from
May 15, 2023

Conversation

Jammy2211
Copy link
Owner

Improves visualization.

@Jammy2211 Jammy2211 requested a review from rhayes777 May 9, 2023 14:30
Comment on lines +194 to +195
if not self.should_visualize(paths=paths):
return
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be a decorator I guess

Comment on lines +219 to +221
def visualize_before_fit_combined(
self, analyses, paths: af.DirectoryPaths, model: af.Collection
):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs?

Comment on lines +69 to +70
def should_plot(name):
return plot_setting(section="dataset", name=name)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me it seems like this function doesn't need to be defined locally.

@@ -226,3 +222,63 @@ def std_list_of_lists_from(
return self._value_list_of_lists_from(
array=array, settings=settings, value_str="std"
)

def _value_list_of_lists_via_array_list_from(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs?

Comment on lines +22 to +35
if region is None:
return ""
elif region == "fpr":
return "FPR"
elif region == "eper":
return "EPER"
elif region == "parallel_fpr":
return "Parallel FPR"
elif region == "parallel_eper":
return "Parallel EPER"
elif region == "serial_fpr":
return "Serial FPR"
elif region == "serial_eper":
return "Serial EPER"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a dictionary

@Jammy2211 Jammy2211 merged commit 2dc513a into main May 15, 2023
@Jammy2211
Copy link
Owner Author

Will adddress comments the day Euclid deadlines disappear.

@Jammy2211 Jammy2211 deleted the feature/visualize_residuals_with_noise_map branch June 12, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants