aspcol.soundfieldcontrol.paths_to_spatial_cov
- aspcol.soundfieldcontrol.paths_to_spatial_cov(arrays, source_name, zone_names, sources, filt_len, num_samples, margin=None)
utility function to be used with aspsim package. Deprecated, and will be removed in future versions.
- sources should be a list of the audio sources associated with each zone
naturally the list of zone names and sources should be of the same length
- by default it will use as many samples as possible (only remove rir_len-1 samples
in the beginning since they haven’t had time to propagate properly). margin can be supplied if a specific number of samples should be removed instead. might give questionable result if you set margin to less than rir_len-1.
- Returns K^2 spatial covariance matrices R_{ki}, where k is the zones index of
the microphones and i is the zone index of the audio signal The returned array has shape (num_zones, num_zones, num_ls*ir_len, num_ls*ir_len) and is indexed as R_{ki} = R[k,i,:,:]