Transmatrix #1675

Open
wants to merge 4 commits into
from

Projects

None yet

3 participants

@mbdb
Contributor
mbdb commented Feb 17, 2017

Hi,

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 transmatrix.py, and a dedicated unit test file (test_transmatrix.py).
I hope it's a suitable way. Let me know.

Regards,
Maxime

mbdb added some commits Feb 16, 2017
@mbdb mbdb Add transmatrix.py 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
646f639
@megies megies requested a review from jwassermann Feb 17, 2017
@megies megies added this to the 1.2.0 milestone Feb 17, 2017
@megies
Member
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.

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