resultToPOS: Convert TAPSim Results to POS

View source: R/rapt_tapsim.R

resultToPOSR Documentation

Convert TAPSim Results to POS

Description

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

Usage

resultToPOS(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

Value

A data.frame containing the (x,y,z) position and "mass" (id) of the point in the stame structure of a POS as created by readPOS.

See Also

readPOS

Other TAPSim functions: readResult(), resultToDet()


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