And removed the actual ApsResult struct

This commit is contained in:
Anne de Jong 2024-07-11 21:03:46 +02:00
parent 66ab149159
commit 245f4ebfb2

View File

@ -22,19 +22,6 @@ impl Default for Overlap {
} }
} }
/// Result from [compute method](AvPowerSpectra::compute).
enum ApsResult<'a> {
/// Returns all intermediate results. Useful when evolution over time should
/// be visible. I.e. in case of spectrograms, but also in case the
/// converging process to the average should be made visible.
AllIntermediateResults(Vec<CPSResult>),
/// Give only last result back, the most recent value.
OnlyLastResult(&'a CPSResult),
/// No new data available. Nothing given back.
None,
}
/// The 'mode' used in computing averaged power spectra. When providing data in /// The 'mode' used in computing averaged power spectra. When providing data in
/// blocks to the [AvPowerSpectra] the resulting 'current estimate' responds /// blocks to the [AvPowerSpectra] the resulting 'current estimate' responds