Description Usage Arguments Examples
A function to plot detector module with damaged pixels
1 | plot_module_pixels(detector, col, row, file_path = NA, caption = TRUE)
|
detector |
Detector object |
col |
Module column number |
row |
Module row number |
file_path |
Output file path |
caption |
Flag to turn on/off figure caption |
1 2 3 4 5 6 7 | # 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)
plot_module_pixels(detector_pilatus, 1, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.