dist_corner: A function to calculate pixel distances from the closest...

View source: R/pixel.R

dist_cornerR Documentation

A function to calculate pixel distances from the closest corner

Description

A function to calculate pixel distances from the closest corner

Usage

dist_corner(detector)

Arguments

detector

Detector object

Value

Matrix containing pixel distances from closest corner

Examples

# Create a detector
detector_pilatus <- create_detector("Pilatus")
# Calculate distance from pixels to corners
dist_corner(detector_pilatus)

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