Package noiseOneBand
Class OneBandDataUnit
- All Implemented Interfaces:
Comparable<PamDataUnit>
,AcousticDataUnit
- Direct Known Subclasses:
OfflineOneBandDataUnit
public class OneBandDataUnit
extends PamDataUnit<PamDataUnit,SuperDetection>
implements AcousticDataUnit
-
Constructor Summary
ConstructorDescriptionOneBandDataUnit
(long timeMilliseconds, int channelBitmap, long startSample, long duration) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getMeasure
(int iMeasure) double
double
getRms()
int
double
void
setPeakPeak
(double peakPeak) void
setRms
(double rms) void
setSEL
(double sel, int selSeconds) Set sound exposure level measured over many data units.void
setZeroPeak
(double zeroPeak) Methods inherited from class PamguardMVC.PamDataUnit
addDataAnnotation, addSuperDetection, amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, calcSnapshotGeometry, clearOandAngles, clearUpdateCount, compareTo, findDataAnnotation, findDataAnnotation, freeData, getAbsBlockIndex, getAmplitudeDB, getAnnotationsSummaryString, getBasicData, getCalculatedAmlitudeDB, getChannelBitmap, getColourIndex, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDataUnitPopupMenu, getDurationInMilliseconds, getEndTimeInMilliseconds, getFrequency, getFrequencyOverlap, getHydrophoneBitmap, getHydrophoneHeading, getLastChangeTime, getLastSample, getLastUpdateTime, getLocalisation, getMeasuredAmplitude, getMeasuredAmplitudeType, getNoiseBackground, getNumDataAnnotations, getOriginLatLong, getParentDataBlock, getSampleDuration, getSampleDurationAsInt, getSeconds, getSequenceBitmap, getSequenceBitmapObject, getSignalExcess, getSignalSPL, getSnapshotGeometry, getStartSample, getSummaryString, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, getSuperId, getTimeDelaysSeconds, getTimeMilliseconds, getTimeNanoseconds, getTimeOverlap, getUID, getUpdateCount, isEmbryonic, isForceAmpRecalc, linAmplitudeToDB, removeDataAnnotation, removeDataAnnotation, removeSuperDetection, setAbsBlockIndex, setCalculatedAmlitudeDB, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setDurationInMilliseconds, setEmbryonic, setForceAmpRecalc, setFrequency, setInfo, setLastUpdateTime, setLocalisation, setMeasuredAmpAndType, setMeasuredAmplitude, setMeasuredAmplitudeType, setNoiseBackground, setParentDataBlock, setSampleDuration, setSequenceBitmap, setSignalExcess, setSignalSPL, setSnapshotGeometry, setStartSample, setTimeDelaysSeconds, setTimeMilliseconds, setUID, setUniqueSuperDetection, sortOutputMaps, updateDataUnit
-
Constructor Details
-
OneBandDataUnit
public OneBandDataUnit(long timeMilliseconds, int channelBitmap, long startSample, long duration)
-
-
Method Details
-
getMeasure
public double getMeasure(int iMeasure) -
getRms
public double getRms()- Returns:
- the rms
-
setRms
public void setRms(double rms) - Parameters:
rms
- the rms to set
-
getZeroPeak
public double getZeroPeak()- Returns:
- the zeroPeak
-
setZeroPeak
public void setZeroPeak(double zeroPeak) - Parameters:
zeroPeak
- the zeroPeak to set
-
getPeakPeak
public double getPeakPeak()- Returns:
- the peakPeak
-
setPeakPeak
public void setPeakPeak(double peakPeak) - Parameters:
peakPeak
- the peakPeak to set
-
setSEL
public void setSEL(double sel, int selSeconds) Set sound exposure level measured over many data units.- Parameters:
sel
- sound exposure levelselSeconds
- integration time in seconds.
-
getIntegratedSEL
- Returns:
- the integratedSEL
-
getSelIntegationTime
public int getSelIntegationTime()- Returns:
- the selIntegationTime
-