public interface FragmentStore
Modifier and Type | Method and Description |
---|---|
void |
addFragemnt(WhistleFragment newFragment)
Add a whistle fragment to the store
|
void |
clearStore()
Clear the store of existing data.
|
PamHistogram |
getFitHistogram(int iFit)
Get one of the histograms for mean, STD and Skew
|
double |
getFragmentCount() |
PamHistogram |
getNegInflectionsHistogram() |
double[] |
getParameterArray()
Get the parameters (9 of them) describing the fragments in this store.
|
PamHistogram |
getPosInflectionsHistogram() |
void |
prepareStore()
Prepare the store to receive new data.
|
void |
scaleStoreData(double scaleFactor)
Remove a fraction of the fragments from the store
|
void addFragemnt(WhistleFragment newFragment)
newFragment
- fragmentvoid prepareStore()
void clearStore()
void scaleStoreData(double scaleFactor)
scaleFactor
- fraction of fragments ot leavedouble[] getParameterArray()
PamHistogram getFitHistogram(int iFit)
iFit
- histogram number (0, 1 or 2)PamHistogram getNegInflectionsHistogram()
PamHistogram getPosInflectionsHistogram()
double getFragmentCount()