sot/eng_archive — comment on commit 1acd02e48303b6ea6229a62e120a7d02f0c54f9f
File: Ska/engarchive/derived/pcad.py line 134
By taldcroft:

Numpy has a clip function that is very useful. Just do:

np.clip(dot_prod, -1, 1)