Description Usage Arguments Examples
A function to plot detector with dead pixel counts per module
1 |
detector |
Detector object |
file_path |
Output file path |
row |
Module row number |
col |
Module column number |
caption |
Flag to turn on/off figure caption |
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)
detector_pilatus_damage <- get_dead_stats(detector_pilatus)
plot_pixels_count(detector_pilatus_damage)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.