SimpleCrosscorr¶
-
class SimpleCrosscorr : public kotekan::Stage¶
Kotekan stage to compute four spectral products (AA, BB, Re{AB*}, Im{AB*}) from two complex-float input streams and integrate over time.
Both input buffers’ frame lengths must be integer multiples of the spectrum length. Per integration the stage emits
4* spectrum_length floats followed by a singleuint32_tholding the integration count, into the output buffer.- Buffers
in_bufAInput kotekan buffer A.Format: Array of
complex float(interleaved float pairs)Metadata:
none
in_bufBInput kotekan buffer B.Format: Array of
complex float(interleaved float pairs)Metadata:
none
out_bufOutput kotekan buffer.Format: Array of
float+ trailinguint32_tper integrationMetadata:
none
- Author
Keith Vanderlinde
- Param spectrum_length:
Int (default 1024). Number of samples in the spectrum.
- Param integration_length:
Int (default 1024). Number of time samples to sum.