Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stereonet_math.py #1

Merged
merged 1 commit into from
Mar 24, 2021
Merged

Conversation

JNDanielson
Copy link
Owner

@JNDanielson JNDanielson commented Mar 24, 2021

Currently, the find_fisher_stats, fisher_stats, and mean_vector functions don't calculate Fisher k (kappa) or the mean vector of a group of poles correctly where the group of poles includes orientations which cross a dip=90° (e.g., subvertical joints with steeply north and south dipping orientations will have a flat mean orientation instead of a subvertical one). This is because the mean vector calc assumes that orientations have directions, which is not true for most data plotted on stereonets (e.g. rock joints). See Issue joferkington#39 for an example of undesired results.

image

This update uses the scatter matrix approach from Directional Statistics (Jupp and Mardia, 2000, pp.165) to estimate mean orientation and dispersion. This fixes the aforementioned issue.

@JNDanielson JNDanielson merged commit ec3afb6 into master Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant