You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maskthresh : float, optional
Mask threshold. This is the inclusive upper limit on the mask value in
order for the corresponding pixel to be unmasked. For boolean arrays,
`False` and `True` are interpreted as 0 and 1, respectively. Thus,
given a threshold of zero, True corresponds to masked and `False`
corresponds to unmasked.
So I expected extractor(data, mask, maskthresh=10.0) should be identical to extractor(data, mask=None). Am I misunderstanding something?
The text was updated successfully, but these errors were encountered:
Make test data first:
(1) If no mask is provided,
maskthresh
has no effect, as expected:(2) If
mask
is provided, the results are AGAIN identical:FYI, the docstring says
So I expected
extractor(data, mask, maskthresh=10.0)
should be identical toextractor(data, mask=None)
. Am I misunderstanding something?The text was updated successfully, but these errors were encountered: