findMaxMin: Automated and interactive selection of max/min velocities in...

Description Usage Arguments Details Value Author(s) See Also

Description

This function iterates through an array of tokens, displaying each one in turn. The automatically detected max and min velocity points are displayed and the user is given the opportunity to change them.

Usage

1
findMaxMin(xdata, ydata, doplot = TRUE)

Arguments

xdata

The X position data (emu object)

ydata

The Y position data (emu object)

doplot

Should the plots be displayed

Details

When the doPlot option is TRUE the plot is displayed and the user is given the opportunity to correct the automatic detection.

The procedure is as follows:

The user is prompted with the following message:

"Press m to modify, enter to continue"

If "m" is pressed then identify is used to extract positions. The user should first click on the position of the maximum and then on the position of the minimum.

The colour/symbols used are as follows:

Blue X's mark the token start.

Red o's mark the predicted position of the velocity maximum.

Red triangles the predicted position of the velocity minimum.

Value

A list with 2 components

max

An array containing time, index, velocity and x and y positions of the maxima

min

An array containing time, index, velocity and x and y positions of the minima

Author(s)

Richard Beare

See Also

identify


richardbeare/emuExt documentation built on May 27, 2019, 7:58 a.m.