{"id":13720591,"url":"https://github.com/mkondratyev85/stress_state_plot","last_synced_at":"2025-05-07T12:31:48.641Z","repository":{"id":102045866,"uuid":"435663727","full_name":"mkondratyev85/stress_state_plot","owner":"mkondratyev85","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-24T05:02:02.000Z","size":4400,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-14T09:39:20.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkondratyev85.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-12-06T22:12:58.000Z","updated_at":"2024-08-06T03:08:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"193106a9-12bb-4ebf-b938-a287caf436f2","html_url":"https://github.com/mkondratyev85/stress_state_plot","commit_stats":{"total_commits":31,"total_committers":1,"mean_commits":31.0,"dds":0.0,"last_synced_commit":"7fb2aeb2d497e00ec9778ff6bb79fb9c03467320"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkondratyev85%2Fstress_state_plot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkondratyev85%2Fstress_state_plot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkondratyev85%2Fstress_state_plot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkondratyev85%2Fstress_state_plot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkondratyev85","download_url":"https://codeload.github.com/mkondratyev85/stress_state_plot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252876444,"owners_count":21818181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T01:01:05.591Z","updated_at":"2025-05-07T12:31:43.631Z","avatar_url":"https://github.com/mkondratyev85.png","language":"Python","funding_links":[],"categories":["Software"],"sub_categories":["Structural Geology"],"readme":"# stress_state_plot\n\n`Stress_state_plot` is an open source structural geology package for visualisation of a given stess-state via matplotlib.\n\nStress state can be described by orientation of sigma axes, as well as either absolute values for each sigma axis. \nAn alternative method is the describe stress state by orientation of sigma axes and by providing additional parameters such as `pressure`, `tau`, and `mu_sigma` or `phi`.\n\nVisualisation of stress_state is performed both on stereonet and on a Morh's diagram.\n\n\u003cimg src=\"figs/fig.png\" width=\"640\" /\u003e\n\n\n## Installation\n\n### Ubuntu\n\n```\npip install git+https://github.com/mkondratyev85/stress_state_plot\n```\n\n## Usage\n\n```\nUsage: stress_state_plot [OPTIONS]\n\nOptions:\n  --pressure FLOAT                Value of pressure.\n  --tau FLOAT                     Value of tau.\n  --mu_sigma FLOAT                Value of mu_sigma.\n  --phi FLOAT                     Phi.\n  --sigma1_value TEXT             Value of sigma1.\n  --sigma2_value TEXT             Value of sigma2.\n  --sigma3_value TEXT             Value of sigma3.\n  --sigma1_orientation TEXT       Orientation of sigma1.\n  --sigma2_orientation TEXT       Orientation of sigma2.\n  --sigma3_orientation TEXT       Orientation of sigma3.\n  --sigma1_orientation_and_sigma3_direction TEXT\n                                  Set orientations only via single\n                                  sigma1_orientationa and direction of sigma3\n  --sigma3_orientation_and_sigma1_direction TEXT\n                                  Set orientations only via single\n                                  sigma3_orientationa and direction of sigma1\n  --tau_f FLOAT                   Cohesion factor\n  --k_f FLOAT                     Coefficient of friction\n  --fractures TEXT                Path to the input file with fractures.\n  --xlsx_path TEXT                Path to the output xlsx file with report.\n  --png_path TEXT                 Path to the output xlsx file with report.\n  --gui                           Plots stress in interactive GUI.\n  --help                          Show this message and exit.\n```\n\n\nExample of usage:\n\n```\nstress_state_plot --sigma1_orientation_and_sigma3_direction=\"125 34 322\" --pressure=-40 --mu_sigma=0 --tau=1 --tau_f=0.3 --k_f=0.3 --png_path=/tmp/fig.png\n```\n\nIt is possible to plot set of fractures against given stress state:\n\n```\nstress_state_plot --sigma1_orientation_and_sigma3_direction=\"125 34 322\" --pressure=-40 --mu_sigma=0 --tau=1 --tau_f=0.3 --k_f=0.3 --fractures=fractures.txt --png_path=/tmp/fig.png\n```\n\n\u003cimg src=\"figs/fig.png\" width=\"640\" /\u003e\n\n\u003cimg src=\"figs/fig_morh.png\" width=\"640\" /\u003e\n\nExample of usage in interactive mode:\n\n```\nstress_state_plot --sigma1_orientation_and_sigma3_direction=\"125 34 322\" --pressure=-40 --mu_sigma=0 --tau=1 --tau_f=0.3 --k_f=0.3 --fractures=fractures.txt --gui\n```\n\n\u003cimg src=\"figs/interactive.gif\" width=\"640\" /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkondratyev85%2Fstress_state_plot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkondratyev85%2Fstress_state_plot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkondratyev85%2Fstress_state_plot/lists"}