plot_pixels_kfg: Plots K, F, G functions

View source: R/analysis.R

plot_pixels_kfgR Documentation

Plots K, F, G functions

Description

Plots K, F, G functions

Usage

plot_pixels_kfg(
  detector,
  func,
  file_path = NA,
  row = NA,
  col = NA,
  caption = TRUE
)

Arguments

detector

Detector object

func

Function name ("K', "F", or "G")

file_path

Output file path

row

module row number

col

module column number

caption

Flag to turn on/off figure caption

Examples

# 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_kfg(detector_pilatus, "K")
plot_pixels_kfg(detector_pilatus, "F")
plot_pixels_kfg(detector_pilatus, "G")

alan-turing-institute/DetectorChecker documentation built on April 13, 2025, 8:57 p.m.