def _do_tSSS(clean_data, orig_in_data, resid, st_correlation,
n_positions, t_str):
"""Compute and apply SSP-like projection vectors based on min corr"""
np.asarray_chkfinite(resid)
t_proj = _overlap_projector(orig_in_data, resid, st_correlation)
# Apply projector according to Eq. 12 in [2]_
msg = (' Projecting %2d intersecting tSSS components '
'for %s' % (t_proj.shape[1], t_str))
if n_positions > 1:
msg += ' (across %2d positions)' % n_positions
logger.info(msg)
clean_data -= np.dot(np.dot(clean_data, t_proj), t_proj.T)
maxwell.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录