public class CaptureVariable extends VectorVariable implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
MoveVector |
moveInStore |
itsSDescriptives
autoExtracted, hasDefaultColors, isSorted, itsDescriptives, itsFormula, itsLineColor, itsLocationColor, kEuclidian, kGower, kJaccard, kManhattan, kSquEuclidian, plotMarker, rand
Constructor and Description |
---|
CaptureVariable()
empty constructor for the CaptureVariable class using a VariableOrganizer
|
CaptureVariable(java.lang.String varName,
VariableOrganizer theOrganizer)
Standard constructor for the CaptureVariable class using a VariableOrganizer
|
Modifier and Type | Method and Description |
---|---|
void |
addMove(MoveVector aMove)
makes the animal move from the last recorded position
|
void |
addValue(java.lang.Object anObject)
appends an Object to the end of the Variable
|
MoveVector |
applyRandomMoveFromDistribution(Capture StartCapture)
generates a single move from a Distribution of Moves
|
void |
asCircularGraph()
Creates a circular presenter
|
void |
asCircularGraph(boolean relative)
Creates a circular presenter
|
java.awt.geom.Path2D.Double |
asPath()
returns the coordinates as a Path2D object
|
SGPolygon |
asSGPolygon()
returns the path as a polygon
|
void |
asSpatialMap()
Creates a presenter and plots the locations
|
void |
asSpatialMap(boolean xDirection,
boolean yDirection)
Creates a presenter and plots the locations
|
void |
asSpatialMap(GridSpace3D theGridSpace)
Creates a presenter and plots the locations
|
void |
asSpatialMap(int view,
boolean xDirection,
boolean yDirection)
Creates a presenter and plots the locations
|
boolean |
checkConnectedCoords()
assures that coordinates are connected
|
boolean |
checkLatLong()
assures that coordinates are latitude and longitude
|
boolean |
checkTimesInOrder()
assures that coordinate times are in order
|
Variable |
cloneSelectedRowsOnly()
returns a copy of the CaptureVariable containing only the selected rows
|
SpatialDescriptives |
copySpatialDescriptives()
fills the descriptive statistics for the variable and returns the results
|
void |
doFractalAnalysis()
lists the fractal dimension for the variable using the currently
selected set of rows
|
double |
estimateD(double maxPathLength,
double stepSize,
double pathLength)
returns the fractal dimension of the moves
|
void |
fill(NumberVariable x,
NumberVariable y)
Fills the variable with captures, x and y variable from the same row are
assumed to belong together
|
void |
fill(NumberVariable x,
NumberVariable y,
NumberVariable z,
NumberVariable time)
Fills the variable with captures, x, y, z coordinates from the same row are
assumed to belong together
|
void |
fill(NumberVariable x,
NumberVariable y,
NumberVariable z,
TimeVariable time)
Fills the variable with captures, x, y, z coordinates from the same row are
assumed to belong together
|
void |
fill(NumberVariable x,
NumberVariable y,
TimeVariable time)
Fills the variable with captures, x and y variable from the same row are
assumed to belong together
|
void |
fill(PolarVector[] aVecs)
fills the variable with captures
|
void |
fill(java.awt.Polygon poly)
fills the variable with locations from x and y coordinates that mark the corners of a polygon.
|
void |
fill(SpatialVector[] aVecs)
fills the variable with captures
|
void |
fillDescriptives(java.lang.Double hypVal)
fills the descriptive statistics for the variable - locations
|
void |
fillSSCP(SquaresCrossproductResults theSSSCP)
returns the sums of squares and cross-products for the variable
|
void |
fillWithGaussRandom(Capture StartCapture,
double theMean,
double theSD,
boolean is3D)
fills the variable with random values from a uniform distribution between 0 and 1
|
void |
fillWithRandomFromDistribution(Capture StartCapture)
fills the variable with random values from a Distribution of Moves
|
AngleVariable |
getAnglesFromLocation(SpatialVector aLocation)
returns the distances from one specific location
|
AngleVariable |
getAnglesToLocation(SpatialVector aLocation)
returns the direction to one specific location
|
ContingencyTable |
getBinnedCoordsXY(GridSpace3D theGrids)
bins the captures into a FrequencyTable
|
ContingencyTable |
getBinnedCoordsXY(int nXBins,
int nYBins)
bins the captures into a FrequencyTable
|
Capture |
getCapture(int row)
returns the capture stored at a given row of the Vector
|
Capture |
getCaptureAtTime(int startCaptureIndex,
long timeMillis)
obtains a coordinate along the path at a given time
|
SpatialVector |
getCenterLocation()
returns the average neighbor distance
|
CircularDescriptives |
getCircularDescriptives(boolean relative)
lists the descriptive statistics for the angles of the moves using the currently
selected set of rows
|
boolean |
getConnect()
returns whether the Capture should be visually connected
|
Constraint |
getConstraint()
returns the spatial constraint for the population
|
SpatialVector |
getCurrentLocation()
returns the current location for the animal
|
double |
getDistanceNet()
returns the net distance between start and end Capture
|
double |
getDistanceTotal()
returns the distance totals for the Captures if connected
|
Capture |
getEndCapture()
returns the end capture for the animal
|
double |
getEndTime()
returns the start time for the animal
|
double |
getFractalDimension()
returns the fractal dimension of the coordinates
|
double |
getFractalDimension(double stepSize)
returns the fractal dimension of the coordinates
|
Descriptives[] |
getGroupDescriptives(Variable theXVar)
returns the descriptives for the groups identified by X
|
ANOVAResults |
getHotellingFResults(Variable theXVar)
lists the results from an analysis of differences in mean angles for a variable of locations
|
CaptureVariable |
getMetricDistsFromLatLong()
if the Captures are defined in longitude and latitude then this function converts these to distanced measures in meters using Haversines
|
CaptureVariable |
getMetricDistsFromLatLong(SpatialVector refPt)
if the Captures are defined in longitude and latitude then this function converts these to distanced measures in meters using Haversines
|
double |
getMinNeighborDistance()
returns the minimum neighbor distance
|
AngleVariable |
getMoveAngles(boolean relative)
creates and returns a variable containing the series of distances between captures
|
MoveDescriptives |
getMoveDescriptives()
fills the descriptive statistics for the moves within the variable and returns the results
|
MoveDescriptives |
getMoveDescriptives(boolean relative)
fills the descriptive statistics for the moves within the variable and returns the results
|
MoveDescriptives |
getMoveDescriptives(boolean relative,
double moveCutoff)
fills the descriptive statistics for the moves within the variable and returns the results
|
NumberVariable |
getMoveDistances()
creates and returns a variable containing the series of distances between captures
|
MoveVariable |
getMoves()
creates and returns a variable containing the series of absolute moves between captures
|
MoveVariable |
getMoves(boolean relative)
creates and returns a variable containing the series of moves between captures
|
NumberVariable |
getMoveSpeeds()
creates and returns a variable containing the series of distances between captures
|
VariableOrganizer |
getSquaredDisplacementFunction()
obtains the mean squared displacement
|
double |
getSquaredDisplacements()
obtains the mean squared displacement
|
Capture |
getStartCapture()
returns the start capture for the animal
|
double |
getStartTime()
returns the start time for the animal
|
java.lang.String |
getStringValue(int row)
returns the capture stored at a given row of the Vector as a String
|
DataTable |
getTimeDifferenceMatrix()
calculates a matrix of distances between all valid (i.e., selected and non-missing) locations
|
TimeVariable |
getTimeRefs()
creates and returns a variable containing the times for these captures
|
IntegerVariable |
getTimes()
creates and returns a variable containing the times for these captures
|
NumberVariable |
getTimesBetweenCaptures()
creates and returns a variable containing the series of time distances between captures
|
VariableOrganizer |
getTimeSynchronizedCaptures(CaptureVariable otherCaps)
synchronize the two CaptureVariables, so the precise locations at each time are interpolated
|
CaptureVariable |
getTinyStepPath(int nSteps)
traces the current selected path in small increments
|
NumberVariable |
getXs()
returns the x coordinates as a Vector
|
NumberVariable |
getXYAngleSpeeds()
returns a variable containing the angular speeds in deg/sec, positivr in one direction, negative in the other
|
NumberVariable |
getYs()
returns the x coordinates as a Vector
|
NumberVariable |
getZs()
returns the x coordinates as a Vector
|
void |
installConstraint(Constraint aConstraint)
installs a spatial constraint for the variable without checking with the VariableOrganizer
|
boolean |
isLatLong()
checks whether the CaptureVariable contains latitude/longitude coordinates
|
void |
listCircularDescriptives(boolean relative)
lists the descriptive statistics for the angles of the moves using the currently
selected set of rows
|
void |
listDistanceMatrix(int DistanceMeasure)
lists a matrix of distances between all valid (i.e., selected and non-missing) locations
|
void |
listFractalDimension()
lists the fractal dimension for the variable using the currently
selected set of rows
|
void |
listFractalDimension(double stepSize)
lists the fractal dimension for the variable using the currently
selected set of rows
|
void |
listGroupDescriptives(Variable theXVar)
lists the descriptives for the groups identified by X
|
void |
listMoveDescriptives()
lists the descriptive statistics for the moves using the currently
selected set of rows
|
void |
listMoveDescriptives(boolean relative)
lists the descriptive statistics for the moves using the currently
selected set of rows
|
void |
listMoveDescriptives(boolean relative,
double moveCutoff)
lists the descriptive statistics for the moves using the currently
selected set of rows
|
SpatialVector |
reMapInConstraint(SpatialVector aCapture)
remaps a capture for a given constraint
|
CaptureVariable |
resample2DPathByDist(double stepSize)
retraces the connected coordinates with a given step length
|
CaptureVariable[] |
resamplePath(double[] distUnits)
retraces the path with different step lengths
|
void |
selectAbove(double cutoffX,
double cutoffY,
double cutoffZ,
boolean fromPrevSelected)
select all rows with a value greater than the one provided
|
void |
selectAboveDistance(double distanceCutoff,
boolean fromPrevSelected)
select all rows with a value less than the one provided
|
void |
selectAboveEqual(double cutoffX,
double cutoffY,
double cutoffZ,
boolean fromPrevSelected)
select all rows with a value greater than the one provided
|
void |
selectAboveSpeed(double speedCutoff,
boolean fromPrevSelected)
select all rows with a value less than the one provided
|
void |
selectAfter(long cutoffTime,
boolean fromPrevSelected)
select all rows with a value greater than the one provided
|
void |
selectAfterEqual(long cutoffTime,
boolean fromPrevSelected)
select all rows with a value greater than the one provided
|
void |
selectBefore(long cutoffTime,
boolean fromPrevSelected)
select all rows with a value greater than the one provided
|
void |
selectBeforeEqual(long cutoffTime,
boolean fromPrevSelected)
select all rows with a value greater than the one provided
|
void |
selectBelow(double cutoffX,
double cutoffY,
double cutoffZ,
boolean fromPrevSelected)
select all rows with a value less than the one provided
|
void |
selectBelowDistance(double distanceCutoff,
boolean fromPrevSelected)
select all rows with a value less than the one provided
|
void |
selectBelowEqual(double cutoffX,
double cutoffY,
double cutoffZ,
boolean fromPrevSelected)
select all rows with a value less or equal than the one provided
|
void |
selectBelowSpeed(double speedCutoff,
boolean fromPrevSelected)
select all rows with a value less than the one provided
|
void |
selectBetween(long sCutoffTime,
long eCutoffTime,
boolean fromPrevSelected)
select all rows with a value greater equal the start time and less or equal the end time
|
void |
selectInArea(GridSpace3D a3DBox,
boolean fromPrevSelected)
select all rows with a value locatad within the 3D box
|
void |
selectInShape(java.awt.Shape aShape,
boolean fromPrevSelected)
select all rows with a value locatad within the 3D box
|
void |
selectWithinDistanceFrom(double aDistance,
SpatialVector fromPt,
boolean fromPrevSelected)
select all rows with a value located within distance from a specific point
|
void |
selectXAbove(double cutoffX,
boolean fromPrevSelected)
select all rows with an X value greater than the one provided
|
void |
selectXAboveEqual(double cutoffX,
boolean fromPrevSelected)
select all rows with an X value greater or equal than the one provided
|
void |
selectXBelow(double cutoffX,
boolean fromPrevSelected)
select all rows with an X value less than the one provided
|
void |
selectXBelowEqual(double cutoffX,
boolean fromPrevSelected)
select all rows with an X value less or equal than the one provided
|
void |
selectYAbove(double cutoffY,
boolean fromPrevSelected)
select all rows with a Y value greater than the one provided
|
void |
selectYAboveEqual(double cutoffY,
boolean fromPrevSelected)
select all rows with a Y value greater or equal than the one provided
|
void |
selectYBelow(double cutoffY,
boolean fromPrevSelected)
select all rows with a Y value less than the one provided
|
void |
selectYBelowEqual(double cutoffY,
boolean fromPrevSelected)
select all rows with a Y value less or equal than the one provided
|
void |
selectZAbove(double cutoffZ,
boolean fromPrevSelected)
select all rows with a Z value greater than the one provided
|
void |
selectZAboveEqual(double cutoffZ,
boolean fromPrevSelected)
select all rows with a Z value greater or equal than the one provided
|
void |
selectZBelow(double cutoffZ,
boolean fromPrevSelected)
select all rows with a Z value less than the one provided
|
void |
selectZBelowEqual(double cutoffZ,
boolean fromPrevSelected)
select all rows with a Z value less or equal than the one provided
|
void |
setConnect(boolean connect)
sets whether the Captures should be visually connected
|
void |
setConstraint(Constraint aConstraint)
installs a spatial constraint for the variable
|
void |
setExternalMovesDistribution(MoveVariable theMoves)
install an external distribution of Moves to sample from
|
void |
setLatLong(boolean isLatLong)
sets the CaptureVariable as a latitude longitude coordinate type
|
boolean |
withinConstraint(SpatialVector aLocation)
sets a constraint for the movement of the animal
|
boolean |
withinTimeScope(long aTime)
check whether the time provided is withinthe time scope of the animal
|
void |
writeKMLCoords(java.io.Writer output)
export the CaptureVariable's LineStyle into a KML file for display in Google Earth
|
void |
writeKMLFile()
export the coordinates into a KML file for display in Google Earth
|
void |
writeKMLFile(java.lang.String name)
export the coordinates into a KML file for display in Google Earth
|
void |
writeKMLIntro(java.io.Writer output)
export the CaptureVariable's LineStyle into a KML file for display in Google Earth
|
void |
writeKMLLine(java.io.Writer output)
export the CaptureVariable's coordinates into a KML file for display in Google Earth
|
void |
writeKMLLineStyle(java.io.Writer output)
export the CaptureVariable's LineStyle into a KML file for display in Google Earth
|
void |
writeKMLOutro(java.io.Writer output)
export the CaptureVariable's LineStyle into a KML file for display in Google Earth
|
void |
writeKMLPoints(java.io.Writer output)
export the CaptureVariable's coordinates into a KML file for display in Google Earth
|
getDistanceMatrix, getDistancesToLocation, getMeanDistanceToLocation, getMinConvexPolygon, getSpatialDescriptives, getSpatialVector, getVectorsFromLocation, getXYAngles, makeNewDescriptives, setValue, toGrahamPt2DArray
addValue, addValue, addValue, append, asJAMAMatrix, asVariableOrganizer, checkAllUseRows, checkLocked, checkMatchingRows, checkMinUseRows, checkNumberIDs, checkSameIDs, checkSameNRows, checkSameNSelectRows, checkSameSelectRows, checkSameSelectRows, checkSameUseRows, checkSameUseRows, checkValidRowRange, clone, cloneEmpty, cloneVariableFrom, combineSelectedWithSavedSelectedRows, copyDescriptives, copySelectStateFrom, customColorFromData, customColorSelectedRows, customColorSelectedRows, deleteAllRows, deleteDuplicateRows, deleteMissingRows, deleteNonSelectedRows, deleteRow, deleteRowNoCheck, deleteSelectedRows, deselectAllRows, fill, fill, fill, fill, fill, fill, fillDescriptives, fillMoreDescriptives, fillWithParser, fillWithParser, fillWithVariable, findFirstSelectRow, findFirstUseRow, findLastSelectRow, findLastUseRow, findNextNonMissingRow, findNextSelectRow, findNextUseRow, findNextValue, findPreviousSelectRow, findPreviousUseRow, getabasedintValue, getAbasedintValue, getArray, getbooleanValue, getcharValue, getCombinedIDs, getCrossTabulation, getCrossTabulation, getCustomColorRow, getDescriptives, getdoubleArray, getdoubleValue, getDoubleValue, getfloatValue, getFrequencies, getHighliteColor, getHighlitedRow, getIDMap, getIDs, getIDString, getIDStrings, getInteractions, getintValue, getJaccard, getLineColor, getLocationColor, getlongValue, getManhattan, getMissingRow, getName, getNIDs, getNMissingRows, getNotes, getNRows, getNSelectRows, getNUseRows, getOrganizer, getProximity, getProximity, getRandomValue, getResampledVariable, getRowNumbers, getRowOrder, getRowOrderRow, getSelectRow, getStringArray, getTransitions, getUseRow, getValue, getVariableDesignRole, getVariableDesignRoleString, getVariableFormat, getVariableType, highliteSelectedRows, highliteSelectedRows, invalidDescriptives, invertSelectedRows, isAngleType, isContinuousType, isDateTimeFormat, isLocationType, isLocked, isNominalType, isNumberFormat, isOrdinalType, isStringFormat, isValidRowRange, isXVariable, isYVariable, listDescriptives, listDescriptives, listGroupDescriptivesNoDia, listRow, listRowOrder, listRows, listRows, listRows, listRows, listSelectedRows, listSelectState, listSelectState, listUseRows, makeTableSubSet, matchedIDs, replaceSelectedRows, resample, restoreSelectedRows, restrictToMatchingUseRows, restrictToMatchingUseRows, restrictToValidRowsOnly, reverseRows, saveRowsToFile, saveRowsToFile, saveSelectedRows, selectAllRows, selectDuplicateRows, selectEveryNthRow, selectRows, selectUseRows, selectValue, setAnglesType, setCustomColorRow, setFormula, setHighliteColor, setHighlitedRow, setLineColor, setLocationColor, setLocationsType, setLock, setMissingRow, setName, setNominalType, setNotes, setNRows, setOrdinalType, setOrganizer, setRowOrder, setRowOrderRow, setSelectRow, setSelectRows, setSelectRowsToMissing, setValue, setValue, setValue, setValue, setValue, setVariableDesignRole, setVariableFormat, setVariableType, sort, sort, sort2, updateRowOrder
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public MoveVector moveInStore
public CaptureVariable() throws java.lang.Exception
java.lang.Exception
public CaptureVariable(java.lang.String varName, VariableOrganizer theOrganizer) throws java.lang.Exception
varName
- assigns a name (String) to the variabletheOrganizer
- an instance of VariableOrganizer
class coordinates a set of variables with respect to number of data points available
and the rows that are currently selectedjava.lang.Exception
public void setConnect(boolean connect)
connect
- should the Captures be connected?public boolean getConnect()
public void setLatLong(boolean isLatLong)
isLatLong
- is this a variable with captures defined by latitude and longitudepublic boolean isLatLong()
public void setExternalMovesDistribution(MoveVariable theMoves)
theMoves
- a distribution from which to sample random moves and apply
them to the current positionpublic void setConstraint(Constraint aConstraint) throws java.lang.Exception
aConstraint
- a spatial constraint for the CaptureVariablejava.lang.Exception
public void installConstraint(Constraint aConstraint)
aConstraint
- a spatial constraint for the CaptureVariablepublic Constraint getConstraint()
public boolean checkConnectedCoords() throws java.lang.Exception
java.lang.Exception
public boolean checkLatLong() throws java.lang.Exception
java.lang.Exception
public boolean checkTimesInOrder() throws java.lang.Exception
java.lang.Exception
public boolean withinConstraint(SpatialVector aLocation) throws java.lang.Exception
aLocation
- a location to check whether it is located within the spatial constraintjava.lang.Exception
public boolean withinTimeScope(long aTime) throws java.lang.Exception
aTime
- the time to look upjava.lang.Exception
public Capture getCapture(int row) throws java.lang.Exception
row
- marks the row in the vectorjava.lang.Exception
public java.lang.String getStringValue(int row) throws java.lang.Exception
getStringValue
in class Variable
row
- marks the row in the vectorjava.lang.Exception
- if ...public SpatialVector getCurrentLocation() throws java.lang.Exception
java.lang.Exception
public Capture getStartCapture() throws java.lang.Exception
java.lang.Exception
public double getStartTime() throws java.lang.Exception
java.lang.Exception
public Capture getEndCapture() throws java.lang.Exception
java.lang.Exception
public double getEndTime() throws java.lang.Exception
java.lang.Exception
public NumberVariable getXs() throws java.lang.Exception
java.lang.Exception
public NumberVariable getYs() throws java.lang.Exception
java.lang.Exception
public NumberVariable getZs() throws java.lang.Exception
java.lang.Exception
public CaptureVariable getMetricDistsFromLatLong() throws java.lang.Exception
java.lang.Exception
public CaptureVariable getMetricDistsFromLatLong(SpatialVector refPt) throws java.lang.Exception
java.lang.Exception
public TimeVariable getTimeRefs() throws java.lang.Exception
java.lang.Exception
public IntegerVariable getTimes() throws java.lang.Exception
java.lang.Exception
public MoveVariable getMoves() throws java.lang.Exception
java.lang.Exception
public MoveVariable getMoves(boolean relative) throws java.lang.Exception
relative
- use relative anglesjava.lang.Exception
public NumberVariable getMoveDistances() throws java.lang.Exception
java.lang.Exception
public NumberVariable getMoveSpeeds() throws java.lang.Exception
java.lang.Exception
public AngleVariable getMoveAngles(boolean relative) throws java.lang.Exception
relative
- use relative anglesjava.lang.Exception
public NumberVariable getXYAngleSpeeds() throws java.lang.Exception
java.lang.Exception
public ContingencyTable getBinnedCoordsXY(GridSpace3D theGrids) throws java.lang.Exception
theGrids
- using this GridSpace3D as framejava.lang.Exception
public ContingencyTable getBinnedCoordsXY(int nXBins, int nYBins) throws java.lang.Exception
nXBins
- the number of bins in the x dimensionnYBins
- the number of bins in the y dimensionjava.lang.Exception
public void addValue(java.lang.Object anObject) throws java.lang.Exception
addValue
in class VectorVariable
anObject
- the object to addjava.lang.Exception
- if ...public void addMove(MoveVector aMove)
aMove
- the next movepublic MoveVector applyRandomMoveFromDistribution(Capture StartCapture) throws java.lang.Exception
StartCapture
- first position at which the animal is capturedjava.lang.Exception
public void fill(java.awt.Polygon poly) throws java.lang.Exception
poly
- Polygon containing x,y coordinatesjava.lang.Exception
public void fill(NumberVariable x, NumberVariable y) throws java.lang.Exception
x
- the x coordinatesy
- the y coordinatesjava.lang.Exception
public void fill(NumberVariable x, NumberVariable y, NumberVariable z, NumberVariable time) throws java.lang.Exception
x
- the x coordinatesy
- the y coordinatesz
- the z coordinatestime
- the time stamp for the capture in millisecondsjava.lang.Exception
public void fill(NumberVariable x, NumberVariable y, NumberVariable z, TimeVariable time) throws java.lang.Exception
x
- the x coordinatesy
- the y coordinatesz
- the z coordinatestime
- the time stamp for the capture in millisecondsjava.lang.Exception
public void fill(NumberVariable x, NumberVariable y, TimeVariable time) throws java.lang.Exception
x
- the x coordinatesy
- the y coordinatestime
- the time stamp for the capturejava.lang.Exception
public void fill(PolarVector[] aVecs) throws java.lang.Exception
aVecs
- an array of polar vectorsjava.lang.Exception
public void fill(SpatialVector[] aVecs) throws java.lang.Exception
aVecs
- an array of spatial vectorsjava.lang.Exception
public void fillWithGaussRandom(Capture StartCapture, double theMean, double theSD, boolean is3D) throws java.lang.Exception
StartCapture
- the Capture that describes the starting pointtheMean
- the mean distancetheSD
- the standard deviation for distancesis3D
- are all 3 dimensions used?java.lang.Exception
public void fillWithRandomFromDistribution(Capture StartCapture) throws java.lang.Exception
StartCapture
- first position at which the animal is capturedjava.lang.Exception
public Variable cloneSelectedRowsOnly() throws java.lang.Exception
cloneSelectedRowsOnly
in class Variable
java.lang.Exception
- if ...public SpatialVector reMapInConstraint(SpatialVector aCapture) throws java.lang.Exception
aCapture
- the capture to remapjava.lang.Exception
public void selectBefore(long cutoffTime, boolean fromPrevSelected) throws java.lang.Exception
cutoffTime
- lists the comparison value for the timefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectBeforeEqual(long cutoffTime, boolean fromPrevSelected) throws java.lang.Exception
cutoffTime
- lists the comparison value for the timefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectAfter(long cutoffTime, boolean fromPrevSelected) throws java.lang.Exception
cutoffTime
- lists the comparison value for the timefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectAfterEqual(long cutoffTime, boolean fromPrevSelected) throws java.lang.Exception
cutoffTime
- lists the comparison value for the timefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectBetween(long sCutoffTime, long eCutoffTime, boolean fromPrevSelected) throws java.lang.Exception
sCutoffTime
- the start timeeCutoffTime
- the start timefromPrevSelected
- notes whether the search should only be performed on currently selected rowsjava.lang.Exception
public void selectAbove(double cutoffX, double cutoffY, double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatecutoffY
- lists the comparison value for the y CoordinatecutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectAboveEqual(double cutoffX, double cutoffY, double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatecutoffY
- lists the comparison value for the y CoordinatecutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectBelow(double cutoffX, double cutoffY, double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatecutoffY
- lists the comparison value for the y CoordinatecutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectBelowEqual(double cutoffX, double cutoffY, double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatecutoffY
- lists the comparison value for the y CoordinatecutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectXBelowEqual(double cutoffX, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectXBelow(double cutoffX, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectXAboveEqual(double cutoffX, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectXAbove(double cutoffX, boolean fromPrevSelected) throws java.lang.Exception
cutoffX
- lists the comparison value for the x CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectYBelowEqual(double cutoffY, boolean fromPrevSelected) throws java.lang.Exception
cutoffY
- lists the comparison value for the y CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectYBelow(double cutoffY, boolean fromPrevSelected) throws java.lang.Exception
cutoffY
- lists the comparison value for the y CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectYAboveEqual(double cutoffY, boolean fromPrevSelected) throws java.lang.Exception
cutoffY
- lists the comparison value for the y CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectYAbove(double cutoffY, boolean fromPrevSelected) throws java.lang.Exception
cutoffY
- lists the comparison value for the y CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectZBelowEqual(double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectZBelow(double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectZAboveEqual(double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectZAbove(double cutoffZ, boolean fromPrevSelected) throws java.lang.Exception
cutoffZ
- lists the comparison value for the z CoordinatefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectWithinDistanceFrom(double aDistance, SpatialVector fromPt, boolean fromPrevSelected) throws java.lang.Exception
aDistance
- distancefromPt
- relative to this pointfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectInArea(GridSpace3D a3DBox, boolean fromPrevSelected) throws java.lang.Exception
a3DBox
- a 3D spacefromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectInShape(java.awt.Shape aShape, boolean fromPrevSelected) throws java.lang.Exception
aShape
- a shape such as afromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectBelowSpeed(double speedCutoff, boolean fromPrevSelected) throws java.lang.Exception
speedCutoff
- lists the maximum speed allowed for selctionfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectAboveSpeed(double speedCutoff, boolean fromPrevSelected) throws java.lang.Exception
speedCutoff
- lists the maximum speed allowed for selectionfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectAboveDistance(double distanceCutoff, boolean fromPrevSelected) throws java.lang.Exception
distanceCutoff
- lists the maximum distance allowed for selectionfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public void selectBelowDistance(double distanceCutoff, boolean fromPrevSelected) throws java.lang.Exception
distanceCutoff
- lists the maximum speed allowed for selectionfromPrevSelected
- notes whether the search should only be performed on
currently selected rowsjava.lang.Exception
public MoveDescriptives getMoveDescriptives() throws java.lang.Exception
java.lang.Exception
public MoveDescriptives getMoveDescriptives(boolean relative) throws java.lang.Exception
relative
- the absolute moves or relative onesjava.lang.Exception
public MoveDescriptives getMoveDescriptives(boolean relative, double moveCutoff) throws java.lang.Exception
relative
- the absolute moves or relative onesmoveCutoff
- the minimum distance travel to count as a movejava.lang.Exception
public SpatialDescriptives copySpatialDescriptives() throws java.lang.Exception
java.lang.Exception
public Descriptives[] getGroupDescriptives(Variable theXVar) throws java.lang.Exception
theXVar
- the independent variable contains information about the experimental group for each casejava.lang.Exception
public void listGroupDescriptives(Variable theXVar) throws java.lang.Exception
listGroupDescriptives
in class Variable
theXVar
- the independent variable contains information about the experimental group for each casejava.lang.Exception
- if ...public void listMoveDescriptives() throws java.lang.Exception
java.lang.Exception
public void listMoveDescriptives(boolean relative) throws java.lang.Exception
relative
- are the moves relative to the previous move?java.lang.Exception
public void listMoveDescriptives(boolean relative, double moveCutoff) throws java.lang.Exception
relative
- are the moves relative to the previous move?moveCutoff
- the minimum distance travel to count as a movejava.lang.Exception
public CircularDescriptives getCircularDescriptives(boolean relative) throws java.lang.Exception
relative
- are the moves relative to the previous move?java.lang.Exception
public void listCircularDescriptives(boolean relative) throws java.lang.Exception
relative
- are the moves relative to the previous move?java.lang.Exception
public CaptureVariable getTinyStepPath(int nSteps) throws java.lang.Exception
nSteps
- the number of increments in the pathjava.lang.Exception
public NumberVariable getTimesBetweenCaptures() throws java.lang.Exception
java.lang.Exception
public DataTable getTimeDifferenceMatrix() throws java.lang.Exception
java.lang.Exception
public VariableOrganizer getSquaredDisplacementFunction() throws java.lang.Exception
java.lang.Exception
public double getSquaredDisplacements() throws java.lang.Exception
java.lang.Exception
public void fillSSCP(SquaresCrossproductResults theSSSCP) throws java.lang.Exception
java.lang.Exception
public ANOVAResults getHotellingFResults(Variable theXVar) throws java.lang.Exception
theXVar
- variable that contains grouping informationjava.lang.Exception
public void listDistanceMatrix(int DistanceMeasure) throws java.lang.Exception
DistanceMeasure
- what type of distance measure should be calculatedjava.lang.Exception
public double getMinNeighborDistance() throws java.lang.Exception
java.lang.Exception
public AngleVariable getAnglesFromLocation(SpatialVector aLocation) throws java.lang.Exception
aLocation
- the location to which distances are calculatedjava.lang.Exception
public AngleVariable getAnglesToLocation(SpatialVector aLocation) throws java.lang.Exception
aLocation
- the location to which distances are calculatedjava.lang.Exception
public SpatialVector getCenterLocation() throws java.lang.Exception
java.lang.Exception
public java.awt.geom.Path2D.Double asPath() throws java.lang.Exception
java.lang.Exception
public double getDistanceTotal() throws java.lang.Exception
java.lang.Exception
public double getDistanceNet() throws java.lang.Exception
java.lang.Exception
public void fillDescriptives(java.lang.Double hypVal) throws java.lang.Exception
fillDescriptives
in class VectorVariable
hypVal
- the value of the a-priori hypothesis meanjava.lang.Exception
- if ...public Capture getCaptureAtTime(int startCaptureIndex, long timeMillis) throws java.lang.Exception
startCaptureIndex
- start from this pointtimeMillis
- find a capture at this time (milliseconds)java.lang.Exception
public VariableOrganizer getTimeSynchronizedCaptures(CaptureVariable otherCaps) throws java.lang.Exception
otherCaps
- the other variable containing capturesjava.lang.Exception
public CaptureVariable resample2DPathByDist(double stepSize) throws java.lang.Exception
stepSize
- the step lengthjava.lang.Exception
public CaptureVariable[] resamplePath(double[] distUnits) throws java.lang.Exception
distUnits
- an array of path lengthsjava.lang.Exception
public double estimateD(double maxPathLength, double stepSize, double pathLength) throws java.lang.Exception
java.lang.Exception
public double getFractalDimension() throws java.lang.Exception
java.lang.Exception
public double getFractalDimension(double stepSize) throws java.lang.Exception
stepSize
- the original step size of the individual producing the path, use -1 for defaultjava.lang.Exception
public void listFractalDimension() throws java.lang.Exception
java.lang.Exception
public void listFractalDimension(double stepSize) throws java.lang.Exception
stepSize
- the original step size of the individual producing the path, use 0 for defaultjava.lang.Exception
public void doFractalAnalysis() throws java.lang.Exception
java.lang.Exception
public SGPolygon asSGPolygon() throws java.lang.Exception
java.lang.Exception
public void asSpatialMap() throws java.lang.Exception
java.lang.Exception
public void asSpatialMap(boolean xDirection, boolean yDirection) throws java.lang.Exception
xDirection
- do x values increase from left to right?yDirection
- do y values increase from top to bottom?java.lang.Exception
public void asSpatialMap(GridSpace3D theGridSpace) throws java.lang.Exception
theGridSpace
- the coordinate system for the mapjava.lang.Exception
public void asSpatialMap(int view, boolean xDirection, boolean yDirection) throws java.lang.Exception
view
- TOP - +X+Y; BOTTOM - +X-Y; FRONT - +X+Z; BACK - -X+Z; RIGHT = +Y+Z; LEFT - -Y+Z;xDirection
- do x values increase from left to right?yDirection
- do y values increase from top to bottom?java.lang.Exception
public void asCircularGraph() throws java.lang.Exception
java.lang.Exception
public void asCircularGraph(boolean relative) throws java.lang.Exception
relative
- should the direction of the moves be considered relative to the previous directionjava.lang.Exception
public void writeKMLIntro(java.io.Writer output) throws java.lang.Exception
java.lang.Exception
public void writeKMLLineStyle(java.io.Writer output) throws java.lang.Exception
java.lang.Exception
public void writeKMLLine(java.io.Writer output) throws java.lang.Exception
java.lang.Exception
public void writeKMLPoints(java.io.Writer output) throws java.lang.Exception
java.lang.Exception
public void writeKMLOutro(java.io.Writer output) throws java.lang.Exception
java.lang.Exception
public void writeKMLCoords(java.io.Writer output) throws java.lang.Exception
java.lang.Exception
public void writeKMLFile() throws java.lang.Exception
java.lang.Exception
public void writeKMLFile(java.lang.String name) throws java.lang.Exception
java.lang.Exception
RH, 2017