- 25 Jul, 2022 3 commits
-
-
Kris Vanneste authored
Avoid error when 1 or more probabilities in magnitude PDF are NaN in estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8589 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Avoid error when trying to determine mag_pdf_loc if probabilities are all NaN or all zeros in estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8586 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Avoid error when trying to determine mag_pdf_loc if probabilities are all NaN in estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8585 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 20 Jul, 2022 1 commit
-
-
Kris Vanneste authored
Fixed checking if imt corresponds to MMI in calc_rupture_probability_from_ground_motion_thresholds function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8581 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 17 Jul, 2022 1 commit
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8569 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 15 Jul, 2022 2 commits
-
-
Kris Vanneste authored
Added 'ppe_site_model', 'ppe_thresholds', 'ppe_fraction' and 'ppe_margin' arguments to calc_rupture_probability_from_ground_motion_thresholds function. Added 'norm_probs_num_sites' argument to calc_rupture_probability_from_ground_motion_thresholds function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8567 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Allow 'mag_pdf_loc' argument of estimate_epicenter_location_and_magnitude_from_intensities function to be 'max_by_mag' to extract location-independent magnitude PDF. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8566 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 14 Jul, 2022 1 commit
-
-
Kris Vanneste authored
Added 'norm_probs_num_sites', 'norm_max_only' and 'truncation_level' arguments to estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8559 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 13 Jul, 2022 1 commit
-
-
Kris Vanneste authored
Updated __repr__ method of SourceModel. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8556 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 08 Jul, 2022 1 commit
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8536 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 01 Jun, 2022 1 commit
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8459 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 30 May, 2022 4 commits
-
-
Kris Vanneste authored
Fixed bug in estimate_epicenter_location_and_magnitude_from_intensities function if 'partial_pe_fraction' > 1 (discovered by Katleen Wils, Katleen.Wils@UGent.be). git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8448 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8447 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8445 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Reverted back to returning ground-motion values in log space for GMPEs in calc_gm_predictions function. Adjusted simulate_ground_motions, calc_gm_residuals and plot_gm_goodness_of_fit functions accordingly. Improved docstring of calc_EDR function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8444 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 18 May, 2022 2 commits
-
-
Kris Vanneste authored
Interpret 'partial_pe_fraction' argument of estimate_epicenter_location_and_magnitude_from_intensities function to be number of discretized sites. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8436 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8435 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 07 May, 2022 2 commits
-
-
Kris Vanneste authored
Renamed 'mag_pdf_idx' argument of estimate_epicenter_location_and_magnitude_from_intensities function to 'mag_pdf_loc'. Commented out unused code to calculate distance weights for probabilistic method in estimate_epicenter_location_and_magnitude_from_intensities function. Use probabilistic_highest method if only 'probabilistic' is specified in estimate_epicenter_location_and_magnitude_from_intensities function. Changed idx variables related to mag_pdf_loc to avoid confusion, and print corresponding location in estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8413 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8412 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 09 Apr, 2022 1 commit
-
-
Kris Vanneste authored
Added pe_curves and ne_curves to tuple returned by estimate_epicenter_location_and_magnitude_from_intensities function (for probabilistic method and if 'mag_pdf_idx' argument is given). git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8348 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 06 Apr, 2022 2 commits
-
-
Kris Vanneste authored
Added 'mag_pdf_idx' argument to estimate_epicenter_location_and_magnitude_from_intensities function to return magnitude PDF of given or most likely location. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8343 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8342 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 23 Mar, 2022 1 commit
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8305 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 11 Mar, 2022 1 commit
-
-
Kris Vanneste authored
Implemented partial positive evidence for probabilistic method in estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8296 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 25 Feb, 2022 1 commit
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8279 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 18 Feb, 2022 1 commit
-
-
Kris Vanneste authored
Added 'partial_pe_sites', 'partial_pe_intensities' and 'partial_pe_fraction' arguments to estimate_epicenter_location_and_magnitude_from_intensities function, to implement partial positive evidence for the forward method. Silence zerodivision warnings in estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8265 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 17 Feb, 2022 1 commit
-
-
Kris Vanneste authored
Implemented "probabilistic" method in estimate_epicenter_location_and_magnitude_from_intensities function, and improved calculation of RMS values for "forward" method. Added get_distance_weights function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8264 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 16 Feb, 2022 1 commit
-
-
Kris Vanneste authored
Fixed problem in estimate_epicenter_location_and_magnitude_from_intensities function for forward method. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8261 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 11 Feb, 2022 2 commits
-
-
Kris Vanneste authored
Updated comment in estimate_epicenter_location_and_magnitude_from_intensities function for forward method. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8255 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8254 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 10 Feb, 2022 6 commits
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8252 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Removed 'mag_bounds' argument of estimate_epicenter_location_and_magnitude_from_intensities function, and added 'ne_margin' argument. Fixed bug in estimate_epicenter_location_and_magnitude_from_intensities function for negative evidence in reverse method, which resulted in the wrong magnitude being used to evaluate negative evidence (discovered by Katleen Wils, Katleen.Wils@UGent.be). git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8251 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Added 'tom' property method to SimpleUniformGridSourceModel. Added 'mag' argument to create_mfd and create_point_source methods of SimpleUniformGridSourceModel. Added docstrings to all methods. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8250 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8249 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Replaced 'sctx', 'rctx' and 'dctx' arguments of get_intensities_from_mag and get_predictions_mse methods of InverseGSIM with 'src' and 'site_model', and added 'imt' argument. Replaced 'rupture' argument of find_mag_from_intensity method of InverseGSIM with 'src', and added 'imt' argument. The above changes ensure correct scaling of rupture plane as a function of the candidate magnitude, and allow specifying the intensity measure type. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8248 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8247 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 09 Feb, 2022 2 commits
-
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8245 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8240 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
- 20 Jan, 2022 2 commits
-
-
Kris Vanneste authored
Use get_available_gsims from rshalib instead of oqhazlib in calc_rupture_probability_from_ground_motion_thresholds function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8194 40b490c5-b4d9-47cb-8714-9bef99b524d5
-
Kris Vanneste authored
Use get_available_gsims from rshalib instead of oqhazlib in estimate_epicenter_location_and_magnitude_from_intensities function. git-svn-id: https://svn.seismo.oma.be/svn/seismo/hazard/rshalib/trunk@8193 40b490c5-b4d9-47cb-8714-9bef99b524d5
-