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
Setting stistools.ocrreject.ocrreject() parameter crthresh to 0 does not force all surrounding pixels to be flagged within a radius defined by crradius, and instead does not grow the CR region at all.
From the docstring:
If crthresh = 0 then all adjacent pixels (see crradius) will be rejected.
@stscirij -
Setting
stistools.ocrreject.ocrreject()
parametercrthresh
to 0 does not force all surrounding pixels to be flagged within a radius defined bycrradius
, and instead does not grow the CR region at all.From the docstring:
Setting it to zero doesn't actually do this:
However, setting it to a slight negative value seems to do the trick.
stistools
callscs2.e
with the-thresh
parameter set to the providedcrthresh
value.This gets inserted into the
par->psigma
parameter inhstcal
, and gets used here:https://github.com/spacetelescope/hstcal/blob/main/pkg/stis/lib/cs2/crrej_loop.c#L92
The text was updated successfully, but these errors were encountered: