resultToDet: Convert TAPSim Result to Detector "ppp"

View source: R/rapt_tapsim.R

resultToDetR Documentation

Convert TAPSim Result to Detector "ppp"

Description

resultToDet converts a TAPSim result data.frame (as returned by readResult) into a ppp using createDet().

Usage

resultToDet(res, clip.radius = NULL)

Arguments

res

The results data.frame as returned by readResult

clip.radius

Numeric. The detector radius at which to clip the points. If NULL (the default), no clipping is applied.

Value

A ppp containing the detector positions marked by their id.

See Also

createDet

Other TAPSim functions: readResult(), resultToPOS()


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.