Transmatrix #1675

wants to merge 4 commits into


None yet

3 participants

mbdb commented Feb 17, 2017


I propose a new function we regularly use in our lab, called transMatrix:
it calculates the transformation matrix between 2 colocated seismometers. It allows us to estimate the components gain for calibration purposes and the orientation error between them. This works even for borehole seismometers. It uses the least-squares solution method available in numpy (np.linalg.lstsq).

Would you be interested in such a code?

I created a new file called, and a dedicated unit test file (
I hope it's a suitable way. Let me know.


mbdb added some commits Feb 16, 2017
@mbdb mbdb Add into signal submodule 27947a4
@mbdb mbdb Adjust default values fa11f54
@mbdb mbdb Add data needed by unit test eae2619
@mbdb mbdb Add unit test file
@megies megies requested a review from jwassermann Feb 17, 2017
@megies megies added this to the 1.2.0 milestone Feb 17, 2017
megies commented Feb 17, 2017

I don't have time to check this in detail right now, but it sounds like something that could fit nicely in our signal.calibration module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment