dead_stats_summary: Summary of damaged pixels for a given detector

Description Usage Arguments Value Examples

View source: R/analysis.R

Description

Compute summary statistics for a detector object. Ensure a damaged pixel matrix has been loaded with load_pix_matrix

Usage

1

Arguments

detector

Detector object

Value

A string with damaged pixels overall statistics

Examples

1
2
3
4
5
6
7
8
9
# 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)
# Calculate dead_stats_summary
dead_stats_summary(detector_pilatus)

alan-turing-institute/DetectorChecker documentation built on Jan. 3, 2021, 10:37 a.m.