- 26 Jan, 2021 17 commits
-
-
Kris Vanneste authored
Added from __future__ statement. Added __all__ statement. Use numpy trigonometric functions instead of math in getTractionComponents and getTractionComponentMagnitudes methods of StressTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7479 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Added from __future__ statement. Added __all__ statement. Added missing import in plot method of MomentTensor. PY3-compatibility fix in to_text method of MomentTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7478 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Added from __future__ statement. Added __all__ statement. Fixed wrong variable name in double_dot method of GeoTensor. Replaced 'self' with 'cls' in class methods from_principal_axes_mag_trend_plunge and from_eigenvalues_and_vectors methods of GeoTensor. Turned get_rotation_from_eigenvectors method of GeoTensor into a static method. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7477 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Added from __future__ statement. Added __all__ statement. Fixed wrong variable name in an2b, an2p and an2t functions. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7476 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Added from __future__ statement. Added __all__ statement. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7475 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Added from __future__ statement. Added __all__ statement. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7474 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7473 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7472 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7471 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7470 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7469 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7468 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
PY3-compatibility fix in __init__ method of Lattice. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7467 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Replaced np.add.reduce calls with np.sum. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7466 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7465 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Replaced np.add.reduce calls with np.sum. Replaced cmp with np.isclose. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7464 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@7463 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 29 Nov, 2019 2 commits
-
-
Kris Vanneste authored
Interchanged names of calc_radiation_amplitudes and calc_radiation_amplitudes2 methods of FocalMechanism, and added warning that one method is not working. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@5889 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@5888 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 17 Sep, 2019 1 commit
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@5749 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 12 Dec, 2018 2 commits
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4867 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4866 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 23 Oct, 2018 1 commit
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4776 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 18 Oct, 2018 1 commit
-
-
Kris Vanneste authored
Renamed getDN, getDNB and getPT methods of FocalMechanism to get_DN, get_DNB and get_PT, in accordance with MomentTensor methods. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4772 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 14 Sep, 2018 2 commits
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4763 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Reversed rotation in rotate_from_principal_coordsys and rotate_to_principal_coordsys methods of GeoTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4762 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 06 Sep, 2018 2 commits
-
-
Kris Vanneste authored
Added include_amp_term parameter to calc_radiation_amplitudes method of FocalMechanism. Added calc_radiation_amplitudes2 method to FocalMechanism. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4756 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Made a small fix in to_text method of MomentTensor. Added calc_apparent_moment method to MomentTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4755 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 04 Sep, 2018 2 commits
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4754 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4753 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 15 Jun, 2018 2 commits
-
-
Kris Vanneste authored
Renamed getM0, getMW, getPT, getPTB, setM0 and setMW methods of MomentTensor into get_M0, get_MW, get_PT, get_PTB, set_M0 and set_MW. Removed reorder method of MomentTensor. Reimplemented get_PTB method of MomentTensor using order parameter of eigenvectors method of GeoTensor. Reimplemented decompose_major_minor_dc method of MomentTensor, and added case argument. Reimplemented decompose_dc_and_clvd method of MomentTensor, and added case argument. Updated decompose_3dc, decompose_3clvd, decompose_3dipoles and decompose_2dc_and_vertical_clvd methods of MomentTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4668 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Added order argument to eigenvalues, eigenvectors and eigenvalues_and_vectors methods of GeoTensor, and modified these methods to make sure that the coordinate system defined by the returned eigenvectors is right-handed. Updated docstring of eigenvectors method of GeoTensor. Added order argument also to get_diagonalized_tensor, rotate_to_principal_coordsys and rotate_from_principal_coordsys methods of GeoTensor. Removed eigensort method of GeoTensor. Added decompose_isotropic_deviatoric method to GeoTensor. Added order, use_focmec and backrotate arguments to get_deviatoric_component method of GeoTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4667 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 25 May, 2018 2 commits
-
-
Kris Vanneste authored
Added _eigensort method to GeoTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4623 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Removed transposing of eigenvectors returned by focmec.eig function in eigenvectors method of GeoTensor, as this is now implemented in focmec.eig itself. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4621 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 24 May, 2018 4 commits
-
-
Kris Vanneste authored
Removed transposing of eigenvectors returned by focmec.eig function in eigenvalues_and_vectors method of GeoTensor, as this is now implemented in focmec.eig itself. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4620 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Removed flipping of vertical vectors in v2trpl function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4619 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4618 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Ensure lower-hemisphere P and T axes in to_text method of MomenTensor, and made a small fix to avoid numpy warning. Set default value of use_focmec parameter to True in getPTB method of MomentTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4617 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 16 May, 2018 2 commits
-
-
Kris Vanneste authored
Changed import of obspy beachball plotting function to support API change in newer versions in plot method of MomentTensor (doesn't seem to work though). Wrapped some excessively long lines in plot_gmt method of MomentTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4613 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Moved get_isotropic_value, has_isotropic_component, get_isotropic_component and get_deviatoric_component methods from MomentTensor to GeoTensor. git-svn-id: https://svn.seismo.oma.be/svn/seismo/eqgeology/faultlib/trunk/tensorlib@4612 40b490c5-b4d9-47cb-8714-9bef99b524d5
-