loc3d_Thode
Class StationQueue

java.lang.Object
  extended by loc3d_Thode.StationQueue

 class StationQueue
extends java.lang.Object

StationQueue--

Author:
Thode Hold a sequence of detections from a clustered set of hydrophones, or a unit that holds bearing as well as timing information...

Field Summary
static int BEARING
           
(package private)  boolean detection_complete
           
static int ECHOTIME
          Constants for storing feature information into detection queues
static int FIRSTDET
           
(package private)  float fs
           
static int ICI
           
(package private)  int Ilast_echo
           
(package private)  int istation
           
(package private)  int minICI
           
static int NOECHO
          Constants for interpreting StationQueue.newData
(package private)  double percentICIErrorTOL
           
(package private)  java.util.ArrayList<GroupDetDataUnit> queue
           
(package private)  long queue_maxtime
           
(package private)  long tds_max
           
 
Constructor Summary
StationQueue(int station)
           
 
Method Summary
 void cleanQueue(float current_time)
           
 double getBearing(int i)
           
 double getEchoTime(int i)
           
 float getFs()
           
 double getICI(int i)
           
 double getLastBearing()
           
 double getLastBearingWithEcho()
           
 double getLastEchoTime()
           
 double getLastICIWithEcho()
           
 int getLastIndex()
           
 int getLastIndexWithEcho()
           
 double getLastTime()
           
 double getLastTimeWithEcho()
           
 double[] getLinkedICI(int I)
           
 double getPercentICIErrorTOL()
           
 long getQueue_maxtime()
           
 double[] getRawData(int i)
           
 long getTds_max()
           
 double getTime(int i)
           
 boolean IsLastDetectionComplete()
           
 void linkICI(int icurrent, int ipast)
           
 int newData(TowedArray3DProcessParameters params, float fs, long peakSample, double bearing, double[] rawdata)
          Performs the same function as newData in the outer class, but this
 void pamStart()
           
 void setBearing(int i, double bearing)
           
 void setEchoTime(int i, double tds)
           
 void setICI(int i, double ici)
           
 void setMinICI(int minICI)
           
 void setPercentICIErrorTOL(double percentError)
           
 void setQueue_maxtime(long queue_maxtime)
           
 void setRawData(int i, double[] rawdata)
           
 void setTds_max(long tds_max)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECHOTIME

public static final int ECHOTIME
Constants for storing feature information into detection queues

See Also:
Constant Field Values

BEARING

public static final int BEARING
See Also:
Constant Field Values

ICI

public static final int ICI
See Also:
Constant Field Values

NOECHO

public static final int NOECHO
Constants for interpreting StationQueue.newData

See Also:
Constant Field Values

FIRSTDET

public static final int FIRSTDET
See Also:
Constant Field Values

istation

int istation

Ilast_echo

int Ilast_echo

minICI

int minICI

queue_maxtime

long queue_maxtime

percentICIErrorTOL

double percentICIErrorTOL

tds_max

long tds_max

fs

float fs

detection_complete

boolean detection_complete

queue

java.util.ArrayList<GroupDetDataUnit> queue
Constructor Detail

StationQueue

public StationQueue(int station)
Method Detail

pamStart

public void pamStart()

IsLastDetectionComplete

public boolean IsLastDetectionComplete()

cleanQueue

public void cleanQueue(float current_time)

newData

public int newData(TowedArray3DProcessParameters params,
                   float fs,
                   long peakSample,
                   double bearing,
                   double[] rawdata)
Performs the same function as newData in the outer class, but this


getLastIndex

public int getLastIndex()

getLastIndexWithEcho

public int getLastIndexWithEcho()

setMinICI

public void setMinICI(int minICI)

getQueue_maxtime

public long getQueue_maxtime()

setQueue_maxtime

public void setQueue_maxtime(long queue_maxtime)

getTds_max

public long getTds_max()

setTds_max

public void setTds_max(long tds_max)

getPercentICIErrorTOL

public double getPercentICIErrorTOL()

setPercentICIErrorTOL

public void setPercentICIErrorTOL(double percentError)

getTime

public double getTime(int i)

getLastTime

public double getLastTime()

getLastTimeWithEcho

public double getLastTimeWithEcho()

setEchoTime

public void setEchoTime(int i,
                        double tds)

setRawData

public void setRawData(int i,
                       double[] rawdata)

getRawData

public double[] getRawData(int i)

getEchoTime

public double getEchoTime(int i)

getLastEchoTime

public double getLastEchoTime()

getICI

public double getICI(int i)

setICI

public void setICI(int i,
                   double ici)

getLastICIWithEcho

public double getLastICIWithEcho()

getBearing

public double getBearing(int i)

getLastBearing

public double getLastBearing()

setBearing

public void setBearing(int i,
                       double bearing)

getLastBearingWithEcho

public double getLastBearingWithEcho()

linkICI

public void linkICI(int icurrent,
                    int ipast)

getLinkedICI

public double[] getLinkedICI(int I)

getFs

public float getFs()