Description Usage Arguments Details Value Examples
Clumps are a collection of neighboring dead pixels. Pixels are classified as a clumps if they share an edge. A mathematical definition can be found here. See details for classifications types.
1 | find_clumps(detector, row = NA, col = NA)
|
detector |
Detector object |
row |
Module row number |
col |
Module column number |
Classification | Description |
Singlton | Single connecting pixel. |
Doublets | Two connecting pixels. |
Triplets | Three connecting pixels. |
Upper horizontal line | Horizontal line in upper half of detector. |
Lower horizontal line | Horizontal line in lower half of detector. |
Left vertical line | Vertical line on left side of detector. |
Right vertical line | Vertical line on right side of detector. |
Larger cluster | Any larger grouping of damaged pixels. |
Lines have a pixel width of 1 but my include up to 10% stray adjacent pixels.
Detector with events matrix attribute
1 2 3 4 5 6 7 8 | # Create a detector
detector_pilatus <- create_detector("Pilatus")
# Load a pixel matrix
file_path <- system.file("extdata", "Pilatus", "badpixel_mask.tif",
package ="detectorchecker")
detector_pilatus <- load_pix_matrix(detector = detector_pilatus, file_path = file_path)
#Find clumps
detector_pilatus_w_clumps <- find_clumps(detector_pilatus)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.