PamDetection
Class IshDetection

java.lang.Object
  extended by PamguardMVC.PamDataUnit
      extended by PamDetection.AcousticDataUnit
          extended by PamDetection.PamDetection<PamDetection,IshAnchorGroup>
              extended by PamDetection.IshDetection
All Implemented Interfaces:
java.lang.Comparable<PamDataUnit>

public class IshDetection
extends PamDetection<PamDetection,IshAnchorGroup>

Basic detection on a single channel for the Ishmael det/loc.

Author:
Doug Gillespie and Dave Mellinger

Field Summary
protected  java.lang.String callType
           
(package private)  java.lang.String name
           
private  double peakHeight
           
static long serialVersionUID
           
 
Fields inherited from class PamDetection.PamDetection
detectionType
 
Fields inherited from class PamDetection.AcousticDataUnit
AMPLITUDE_SCALE_DBREMPA, AMPLITUDE_SCALE_LINREFSD, duration, frequency, startSample
 
Fields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, channelBitmap, localisation, oLL, timeMilliseconds
 
Constructor Summary
IshDetection(long startMsec, long endMsec, float lowFreq, float highFreq, long peakTimeSam, double peakHeight, PamDataBlock parentDataBlock, int channelBitmap, long startSam, long durationSam)
           
 
Method Summary
 java.lang.String getCallType()
           
 double getPeakHeight()
           
 void setCallType(java.lang.String callType)
           
 void setInfo(long startMsec, int channelBitmap, long startSam, long durationSam, float lowFreq, float highFreq, long peakTimeSam, double peakHeight)
          Set various parameters.
 void setPeakHeight(double peakHeight)
           
 
Methods inherited from class PamDetection.PamDetection
addSubDetection, addSuperDetection, getDetectionType, getPeakTime, getSubDetection, getSubDetectionsCount, getSubDetectionSyncronisation, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, removeSubDetection, removeSuperDetection, setDetectionType, setPeakTime, setUniqueSuperDetection
 
Methods inherited from class PamDetection.AcousticDataUnit
amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, compareTo, getAmplitudeDB, getCalculatedAmlitudeDB, getDuration, getFrequency, getFrequencyOverlap, getLastSample, getMeasuredAmplitude, getMeasuredAmplitudeType, getSeconds, getStartSample, getTimeOverlap, setCalculatedAmlitudeDB, setDuration, setFrequency, setInfo, setMeasuredAmplitude, setMeasuredAmplitude, setMeasuredAmplitudeType, setStartSample
 
Methods inherited from class PamguardMVC.PamDataUnit
clearUpdateCount, getAbsBlockIndex, getChannelBitmap, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getGpsPosition, getLastUpdateTime, getLocalisation, getOriginLatLong, getPairAngle, getParentDataBlock, getTimeMilliseconds, getUpdateCount, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

name

java.lang.String name

peakHeight

private double peakHeight

callType

protected java.lang.String callType
Constructor Detail

IshDetection

public IshDetection(long startMsec,
                    long endMsec,
                    float lowFreq,
                    float highFreq,
                    long peakTimeSam,
                    double peakHeight,
                    PamDataBlock parentDataBlock,
                    int channelBitmap,
                    long startSam,
                    long durationSam)
Method Detail

getCallType

public java.lang.String getCallType()

setCallType

public void setCallType(java.lang.String callType)

getPeakHeight

public double getPeakHeight()

setPeakHeight

public void setPeakHeight(double peakHeight)

setInfo

public void setInfo(long startMsec,
                    int channelBitmap,
                    long startSam,
                    long durationSam,
                    float lowFreq,
                    float highFreq,
                    long peakTimeSam,
                    double peakHeight)
Set various parameters.

Parameters:
startMsec -
channelBitmap -
startSam - relative to start of PAMGUARD run
durationSam -
lowFreq - lower edge of call T/F box, Hz
highFreq - upper edge of call T/F box, Hz
peakTimeSam - relative to start of PAMGUARD run
peakHeight - measure of detection quality; different detectors will scale it differently, so it's only comparable within a detector type