-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
if not self.should_visualize(paths=paths): | ||
return |
There was a problem hiding this comment.
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
def visualize_before_fit_combined( | ||
self, analyses, paths: af.DirectoryPaths, model: af.Collection | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs?
def should_plot(name): | ||
return plot_setting(section="dataset", name=name) |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs?
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using a dictionary
Will adddress comments the day Euclid deadlines disappear. |
Improves visualization.