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

normix: implement unit test #217

Open
hechth opened this issue Apr 24, 2024 · 0 comments
Open

normix: implement unit test #217

hechth opened this issue Apr 24, 2024 · 0 comments

Comments

@hechth
Copy link
Member

hechth commented Apr 24, 2024

We need a unit test for the normix function to see how the parameter estimation is actually implemented.

This function takes an EIC and should return the peak parameters for all peaks in the EIC.
The peaks are already identified and the retention time values of the peaks are passed in the pks variable.
The valleys which separate the peaks are also passed in the vlys variable.

The schmematic below shows how the test data can be simulated:

image

So then the parameters can be checked since mu should be close to the peak positions and mu values used to generate the data (same for the standard deviations) and the scale parameter is the a variable used to scale the testing data.

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

No branches or pull requests

1 participant