dist_edge_col: Calculate horizontal distance from each pixel to nearest...

View source: R/pixel.R

dist_edge_colR Documentation

Calculate horizontal distance from each pixel to nearest module edge

Description

Calculate horizontal distance from each pixel to nearest module edge

Usage

dist_edge_col(detector)

Arguments

detector

Detector object

Value

distance matrix

Examples

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

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