| Full Name: | herschel.hifi.pipeline.wbs.MkWbsBadPixelsTask |
| Alias: | mkWbsBadPixels |
| Type: | Java Task - |
| Import: | from herschel.hifi.pipeline.wbs import MkWbsBadPixelsTask |
| Category: |
Step2: Task that check for saturated pixels
in the SpectrumDataset.
A CalWbsBadPixel can be passed as supplementary parameter through the input output StringKeyWords.CAL.
The CalWbsBadPixel contains: value for the maximum pixel level, the threshold values for saturation, and the BadPixel mask to be applied to the HifiSpectrumDataset.
If a CalWbsBadPixel is not passed a new one is created.
After the calculation, the saturated pixel position are stored in the flag.
Then, if a channel is saturated a number of time greater then the values CalWbsBadPixel.getThresholdRepetition(), it is marked as new bad pixel. The new bad pixels are merged with the initial mask passed with CalWbsBadPixel .
| Example 1: In HIPE: | ||
|---|---|---|
|
||
| Example 2: In HIPE: | ||
|---|---|---|
|
||
| Jython Syntax |
|---|
|
|