-
Notifications
You must be signed in to change notification settings - Fork 2
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
42 implement individual labels for individual blobs #44
42 implement individual labels for individual blobs #44
Conversation
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.
Thanks for looking into this. Let's discuss the changes in tomorrow's supervision meeting.
blobmodel/model.py
Outdated
@@ -53,6 +54,8 @@ def __init__( | |||
label_border: float, optional | |||
defines region of blob as region where density >= label_border * amplitude of Blob | |||
only used if labels = True | |||
label_type: str, optional |
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.
label_type
and labels
can be combined to one attribute
blobmodel/model.py
Outdated
@@ -127,6 +131,11 @@ def make_realization( | |||
t_drain=self.t_drain, | |||
) | |||
|
|||
amp = [] |
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.
make amp
a protected member by changing it to _amp
blobmodel/model.py
Outdated
self._labels_field[:, :, _start:_stop][ | ||
_single_blob | ||
>= __max_amplitudes * self._label_border | ||
+ self._density[:, :, _start:_stop] * 0.25 |
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.
I don't understand the point of this line, please provide an explanation of the different options of label_type
No description provided.