d-chambers / Detex

A Python package for subspace detection and waveform similarity clustering
Other
32 stars 6 forks source link

using subSamp = True in createCluster causes waveform misalignment #18

Closed d-chambers closed 8 years ago

d-chambers commented 8 years ago

If a SubSpace instance is created using a ClusterStream instance that was initiated with subSamp = True the subsample extrapolation can cause misalignment in the multiplexed waveforms. This results in a higher than necessary dimension of representation. The following examples from the intro tutorial illustrate the point. The first is a plot from a SubSpace instance when its Cluster instance used subSamp = False and the second when subSamp = True

image

image

d-chambers commented 8 years ago

This happens because the subsample extrapolation does not account for the multiplexed waveform. The fraction of a sample that the subsample extrapolation function adds is now stored separately so it can be used in writing hypoDD inputs but not interfere with the waveform alignment.