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

Description Usage Arguments Value Examples

View source: R/pixel.R

Description

A function to calculate pixel distances from the closest corner

Usage

1
dist_corner(detector)

Arguments

detector

Detector object

Value

Matrix containing pixel distances from closest corner

Examples

1
2
3
4
# 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 Jan. 3, 2021, 10:37 a.m.