plot_pixel_ctr_eucl: Calculates and plots pixel euclidean distance from the centre

View source: R/pixel.R

plot_pixel_ctr_euclR Documentation

Calculates and plots pixel euclidean distance from the centre

Description

Calculates and plots pixel euclidean distance from the centre

Usage

plot_pixel_ctr_eucl(detector, file_path = NA)

Arguments

detector

Detector object

file_path

Output file path

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_pixel_ctr_eucl(detector_pilatus)

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