Skip to main content

SAnTex: Seismic Anisotropy from Texture

License: GPL v3 DOI

SAnTex is a Python library which calculates the full elastic tensor of rocks from modal mineral composition, crystallographic orientation, and a crystal stiffness tensor catalogue that accounts for the dependency of elasticity with pressure and temperature.

Features

  • Pre-processing and cleaning of EBSD data: SAnTex facilitates the processing and cleaning of EBSD data. To enhance data completeness, SAnTex offers the option to fill not-indexed pixels or indexed pixels removed during the cleaning process, using machine learning techniques.
  • Tensor operations: Tensor conversions between Voigt matrix and full stiffness tensors, as well as rotations based on euler angles.
  • Material analysis: SAnTex provides a catalogue of minerals, users can load the catalogue and can either utilise them to load stiffness tensors for their EBSD phases or make a modal rock and can calculate seismic anisotropy for the modal rock.
  • Seismic Anisotropy: SAnTex performs calculations of seismic anisotropy at a range of pressure and temperature conditions. It also offers visualisation capabilities, allowing users to view the calculated seismic anisotropy in 2D and 3D plots.
  • Isotropic velocities: Calculates isotropic seismic wave velocities (Vp, Vs and vbulk), isothermal bulk modulus, and density at elevated temperatures and pressures (Hacker & Abers, 2004).

How to Cite

If you are using this library in a scientific publication, please consider citing the following paper:

  • Singh, U., Özaydın, S., Chatzaras, V., & Rey, P. (2025). SAnTex: A Python-based Library for Seismic Anisotropy Calculation. Journal of Open Source Software, 10(110), 6886, https://doi.org/10.21105/joss.06886.

Bibtex:

@article{Sing2025,
  title={SAnTex: A Python-based Library for Seismic Anisotropy Calculation},
  author={Singh, Utpal and {\"O}zayd{\i}n, Sinan and Chatzaras, Vasileios and Rey, Patrice},
  journal={Journal of Open Source Software},
  volume={10},
  number={110},
  pages={6886},
  year={2025},
  doi={10.21105/joss.06886}
}

Installation

For Linux and Mac

You can install SAnTex using pip from your terminal:

git clone https://github.com/utpal-singh/SAnTex.git
cd santex
pip install .

or

pip install santex

For Windows

SAnTex depends on 'orix', which in turn uses 'PyCifrw' for ODF and PDF calculations. However, 'PyCifrw' requires a C compiler to function properly. Since Windows does not include a C compiler by default, you can create a conda environment and install the GCC compiler along with SAnTex using the following steps:

conda create -n santex python=3.9
conda install -c conda-forge m2w64-gcc
pip install orix
pip install santex

Workflow

Example Notebooks

To help users get started quickly, we provide example notebooks demonstrating typical usage and workflows.
You can find them here or in the notebooks/ directory of this repository.

The documentation is found here

Contributing

We welcome contributions from the community! To get started:

  • Fork the repository
  • Create a new branch (git checkout -b feature-xyz)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin feature-xyz)
  • Open a Pull Request

Reporting Issues

If you encounter any bugs, unexpected behavior, or have feature requests:

  • Search the Issues to check if it’s already been reported.
  • If not, open a new issue and include details such as:
    • Steps to reproduce the problem
    • Expected and actual behavior
    • Relevant logs, screenshots, or code snippets

Support

Need help or have questions?

  • Open an issue for reporting bugs or feature discussions.
  • Use the Discussions tab.
  • Alternatively, you can contact us at [utpal.singh@sydney.edu.au] or [sinan.ozaydin@sydney.edu.au].

Funding

This research was supported by the Australian Research Council grants ARC-DP220100709 and ARC-LP190100146, and the School of Geosciences at The University of Sydney.

Contacts

| Utpal Singh | utpal.singh@sydney.edu.au

Metadata

Release files for santex 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for santex 1.2.3
File Size Uploaded Provenance Actions
santex-1.2.3.tar.gz 68.5 kB Without provenance Details for santex-1.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for santex 1.2.3
File Interpreter ABI Platform Actions
santex-1.2.3-py3-none-any.whl Python 3 none any Details for santex-1.2.3-py3-none-any.whl

Total release size: 138.2 kB

Release files / santex-1.2.3.tar.gz

Download URL santex-1.2.3.tar.gz
Size 68.5 kB
Tags Source
SHA-256 checksum
How to use checksums
70b7de8749e32d08e44822d88fe366e2538583f2f5ac3f7947b1b90ede718c25
BLAKE2b-256 checksum
How to use checksums
a443ed0241e145f00136cfea2a886d784211edfdcfe66460e0fe6756d720f708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Release files / santex-1.2.3-py3-none-any.whl

Download URL santex-1.2.3-py3-none-any.whl
Size 69.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06d09b906a35e0808abe8fcaddaf89369d749fe68deb63d4f5e6c063f9c786f4
BLAKE2b-256 checksum
How to use checksums
704d50f5c8082fcd17dbefa1f8309c6997a5836c34e6f083b89dabfc4f518fef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.16

Security for santex 1.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page