Skip to content

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Mar 27, 2025

Merge the observableTransformation and noiseDistribution columns of the observable table.

See also #618 (comment)

👀 https://petab--619.org.readthedocs.build/en/619/v2/documentation_data_format.html#noise-distributions

@dweindl dweindl force-pushed the v2_replace_obs_transform branch from 36c925a to e2eccd4 Compare March 27, 2025 20:14
@dweindl dweindl marked this pull request as ready for review March 27, 2025 20:16
@dweindl dweindl requested a review from a team as a code owner March 27, 2025 20:16
Copy link
Member

@dilpath dilpath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment on lines 651 to 660
* ``normal``: Gaussian noise model with standard deviation as specified in
``noiseFormula``.
* ``log-normal``: Log-normal noise model with standard deviation as specified
in ``noiseFormula``. I.e., the logarithm of the measurements is normally
distributed.
* ``laplace``: Laplace noise model with scale parameter as specified in
``noiseFormula``.
* ``log-laplace``: Log-Laplace noise model with scale parameter as specified
in ``noiseFormula``. I.e., the logarithm of the measurements is Laplace
distributed.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be a table like

noiseDistribution observableFormula noiseFormula
normal mean standard deviation

The table means we lose some descriptive text like "Gaussian noise model", but it's probably unnecessary or could be moved to the v2_noise_distributions section.

@dweindl dweindl requested review from dilpath and sebapersson April 23, 2025 07:45
@dweindl dweindl self-assigned this Apr 23, 2025
Copy link
Member

@dilpath dilpath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

dweindl and others added 2 commits April 24, 2025 08:54
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
@dweindl dweindl merged commit 4298e15 into main Apr 24, 2025
2 checks passed
@dweindl dweindl deleted the v2_replace_obs_transform branch April 24, 2025 07:35
dweindl added a commit to dweindl/libpetab-python that referenced this pull request Apr 24, 2025
…eDistribution

Update to changes in PEtab v2 draft, see PEtab-dev/PEtab#619.

Closes PEtab-dev#375.
dweindl added a commit to dweindl/libpetab-python that referenced this pull request Apr 25, 2025
…eDistribution

Update to changes in PEtab v2 draft, see PEtab-dev/PEtab#619.

Closes PEtab-dev#375.
dweindl added a commit to PEtab-dev/libpetab-python that referenced this pull request Apr 25, 2025
#376)

* v2: handle merged observable.observableTransformation observable.noiseDistribution

Update to changes in PEtab v2 draft, see PEtab-dev/PEtab#619.

Closes #375.

* upconversion
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 this pull request may close these issues.

5 participants