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

Feature: add component attribute to hazard curves #41

Open
chrisdicaprio opened this issue Aug 9, 2023 · 0 comments · May be fixed by #42
Open

Feature: add component attribute to hazard curves #41

chrisdicaprio opened this issue Aug 9, 2023 · 0 comments · May be fixed by #42

Comments

@chrisdicaprio
Copy link
Collaborator

chrisdicaprio commented Aug 9, 2023

For aggregate hazard curves and aggregate disaggregations we want an additional field to identify component of motion. A number of options can be enumerated (we may add more later). The default is used if the fields don't exist (applies to all previous calculations).

class Component(Enum):
    ROTD50 = "median horizontal ground motion"
    LHC = "largest horizontal component"

ROTD50 is default

@chrisdicaprio chrisdicaprio changed the title Feature: add type and component attributes to hazard curves Feature: add IM type and component attributes to hazard curves Aug 9, 2023
@chrisdicaprio chrisdicaprio changed the title Feature: add IM type and component attributes to hazard curves Feature: add component attribute to hazard curves Aug 9, 2023
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 a pull request may close this issue.

1 participant