dist_edge_row: Calculate vertical distance from each pixel to nearest module...

View source: R/pixel.R

dist_edge_rowR Documentation

Calculate vertical distance from each pixel to nearest module edge

Description

Calculate vertical distance from each pixel to nearest module edge

Usage

dist_edge_row(detector)

Arguments

detector

Detector object

Value

distance matrix

Examples

# Create a detector
detector_pilatus <- create_detector("Pilatus")
# Calculate vertical distance from each pixel to nearest module edge
dist_edge_row(detector_pilatus)

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