Skip to content

[Bug]: gempyor.distributions Configuration Consistency #603

Description

@TimothyWillard

Label

bug, config, gempyor, quick issue

Priority Label

low priority

Describe the bug/issue

Several of the distributions describe the same kinds of parameters with different names for backwards compatibility reasons. For example the NormalDistribution uses mu & sigma for location and scale whereas TruncatedNormalDistribution uses mean and sd. And similarly for the upper and lower for uniform and truncated normal. This can be addressed by making a choice for the internal name that we want to use for these parameters and then supporting user preferred names with pydantic aliases.

To Reproduce

N/A

Environment, if relevant

MacOS 15.6, Python 3.11.13, R 4.3.3, Conda 24.5.0, Git 2.50.1, Branch dev

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugDefects or errors in the code.configRelating to configuration files or their framework.gempyorConcerns the Python core.low priorityLow priority.quick issueShort or easy fix.

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions