public class Burst extends Wave
Modifier and Type | Field and Description |
---|---|
protected double |
_burstDuration_s |
protected int |
_burstEndIndex |
protected double |
_burstPeakAmp |
protected double |
_burstPeakTime_s |
protected int |
_burstStartIndex |
static int |
ASCENDING |
static int |
DESCENDING |
protected static Max |
max |
protected static Min |
min |
protected static Sum |
sum |
BURST_TYPE, comments, contents, CROSSCORRELATION_TYPE, ELECTROPHYS_TYPE, EPISODIC_TYPE, IMAGING_TYPE, listeners, mean, median, roi, samplingRate_Hz, stdev, type, units, UNKNOWN_TYPE, waveName, xStartOffset, xwave
Constructor and Description |
---|
Burst() |
Burst(double burstPeakTime_s,
double burstPeakAmp) |
Burst(double burstPeakTime_s,
double burstPeakAmp,
double burstDuration_s) |
Burst(double burstPeakTime_s,
Wave wave) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object2) |
protected void |
findBurstEnvelope(Wave wave)
Extracts the waveform corresponding to this burst from the reference Wave passed as argument.
|
double |
getArea()
Returns the area under the full burst as y-units*s.
|
int |
getBurstEndIndex()
Gets the burst envelope's start index relative to the original Wave.
|
int |
getBurstStartIndex()
Returns the index that this burst's wave starts at relative to a longer wave period.
|
double |
getDensity()
Returns the area divided by the duration of the full burst.
|
double |
getDuration()
Returns the length of the full burst in seconds.
|
double |
getFallTime()
Returns the time of the maximum amplitude relative to the end of the burst (in seconds).
|
double |
getFallTimeToFwhm()
Not implemented yet
|
double |
getFwhmDensity()
Returns the area divided by the FWHM duration.
|
double |
getFwhmDuration()
Gets the full-width at half maximum (FWHM) in seconds.
|
java.lang.String |
getInfo()
Returns general burst statistics as a String.
|
double |
getMaximumAmplitude()
Should be the same as getPeakAmplitude()
|
int |
getMaximumAmplitudeIndex()
The index within the burst period that the maximum amplitude is at.
|
double |
getMinimumAmplitude()
The minimum amplitude in the burst envelope.
|
double |
getPeakAmp()
Gets the maximum amplitude for this burst period.
|
double |
getPeakTime()
Gets the peak time in seconds relative to the longer wave period.
|
double |
getRiseTime()
Returns the time of the maximum amplitude relative to the start of the burst (in seconds).
|
double |
getRiseTimeFromFwhm()
Not implemented yet
|
int |
getThresholdCrossingingIndex(double thresholdValue,
int crossingType)
Returns the index of the burst data array corresponding to the first time the burst crosses the threshold relative to the burst array.
|
double |
getThresholdCrossingTime(double thresholdValue,
int crossingType)
Returns the first time the burst crosses the threshold (in seconds) relative to the reference wave.
|
void |
setDuration(double burstDuration_s) |
void |
setPeakAmp(double burstPeakAmp) |
void |
setPeakTime(double burstPeakTime_s) |
__add__, __add__, __delitem__, __div__, __getitem__, __getitem__, __len__, __mul__, __setitem__, __sub__, __sub__, abs, add, addElement, addElement, addWave, addWaveListener, append, applyWindowFunction, averageWindow, calculateArea, calculateArea, calculateResiduals, centerAboutZero, clear, clone, cloneMetadata, convolve, convolve, createContentsBufferIfNecessary, curveFit, curveFitExponential, decimate, differentiate, divide, exponentialFit, findNextTimeAbove, findNextTimeBelow, get, getBursts, getBursts, getBursts, getBursts, getBurstsFromLocalMaxima, getBurstsFromLocalMinima, getBurstsFromPeakDetector, getCleanZscore, getCleanZscore, getCleanZscoredWave, getCleanZscoredWave, getComments, getCorrelationTime, getCorrelationValue, getDifferenceWavesExcludingBursts, getEndTime, getExponentialWave, getIndex, getLength_s, getLength, getMaxValue, getMaxValue, getMaxValue, getMaxValueTime, getMaxValueTime, getMaxValueTime, getMeanValue, getMeanValue, getMedianValue, getMedianValue, getMinValue, getMinValue, getMinValue, getMinValueTime, getMinValueTime, getMinValueTime, getName, getRoi, getRoiWave, getRoiWave, getSamplingRateHz, getScrambledWave, getSpikeUnits, getSpikeUnits, getStartTime, getStdevValue, getStdevValue, getTemporalHistogram, getTruncatedZscoredWave, getTruncatedZscoredWave, getType, getTypeAsString, getUnits, getValueAt, getValues, getValues, getValues, getValues, getWaveForBurstAnalysisFromLocalMaxima, getWaveRange, getWaveRange, getXStartOffset, getXValues, getXWave, getYValues, getZscoredWave, getZscoredWave, integrate, invert, isElectrophysType, isImagingType, isProxy, isUnknownType, linearFit, load, loadFromText, movingAverageFilter, movingAverageFilter2, multiply, normalize, normalize, open, plot2D, readObject, recalcExponentialWave, removeWaveListener, save, saveAsText, saveAsText, set, setBlankValues, setComments, setCorrelationTime, setCorrelationValue, setName, setRoi, setSamplingRateHz, setType, setUnits, setValues, setXStartOffset, setXStartOffsetTime, setXWave, split, subtract, subtractWave, sum, waveChanged, writeAudioFile, writeObject
protected static Sum sum
protected static Max max
protected static Min min
protected double _burstPeakTime_s
protected double _burstPeakAmp
protected double _burstDuration_s
protected int _burstStartIndex
protected int _burstEndIndex
public static final int ASCENDING
public static final int DESCENDING
public Burst()
public Burst(double burstPeakTime_s, Wave wave)
public Burst(double burstPeakTime_s, double burstPeakAmp)
public Burst(double burstPeakTime_s, double burstPeakAmp, double burstDuration_s)
protected void findBurstEnvelope(Wave wave)
public int getBurstStartIndex()
public double getPeakTime()
public void setPeakTime(double burstPeakTime_s)
public double getPeakAmp()
public void setPeakAmp(double burstPeakAmp)
public int getBurstEndIndex()
public double getThresholdCrossingTime(double thresholdValue, int crossingType)
public int getThresholdCrossingingIndex(double thresholdValue, int crossingType)
public double getFwhmDuration()
public double getDuration()
public void setDuration(double burstDuration_s)
public double getArea()
public double getDensity()
public double getFwhmDensity()
public double getMaximumAmplitude()
public int getMaximumAmplitudeIndex()
public double getMinimumAmplitude()
public boolean equals(java.lang.Object object2)
equals
in class java.lang.Object
public java.lang.String getInfo()
public double getRiseTime()
public double getFallTime()
public double getRiseTimeFromFwhm()
public double getFallTimeToFwhm()