Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mikasa23

Pages: [1]
1
Wind Engineering (WE-UQ) / Re: DEDM-HRP wind event
« on: July 25, 2023, 03:02:02 AM »
Hello,

I am interested in using the DEDM-HRP option but I get 0 response in the results. First I thought I did something wrong and tried to recreate an example I found in the training workshop video. I used the example files on the GitHub website and obtained the same result. I would appreciate assistance in getting this option to work. I am using version 2.3.0 if that affects anything.
build now gg
Thank you advance for your support.
In version 2.3.0, the DEDM-HRP option does not respond in the results, even with example files from the training workshop. To resolve this issue, you should verify the input data, and check the parameters used.

2
You can add a check to ensure 'xp' is not empty before calling np.argmin(). Here's how you could do it in Python:
Code: [Select]
if len(xp) > 0:
    minLineIdx = int(np.argmin(xp)/2)
else:
    # Handle the case when 'xp' is empty
    # For example, set minLineIdx to a default value or raise a specific exception
fnf

Pages: [1]