plot_pixels_density | R Documentation |
A function to plot densities of dead pixels of detector or module
plot_pixels_density(
detector,
file_path = NA,
adjust = 0.5,
row = NA,
col = NA,
caption = TRUE,
color = topo.colors(50)
)
detector |
Detector object |
file_path |
Output file path |
adjust |
Kernel density bandwidth |
row |
Module row number |
col |
Module column number |
caption |
Flag to turn on/off figure caption |
color |
a list of colors |
# 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_pixels_density(detector_pilatus)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.