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

Add FSE correction on each spectra before focusing all spectra #111

Closed
wants to merge 2 commits into from

Conversation

GuiMacielPereira
Copy link
Collaborator

@GuiMacielPereira GuiMacielPereira commented Jun 27, 2024

The idea behind this change is that subtracting FSE is more physically correct and symmetrasion of the profile should be no longer necessary or deprecated.

Description of work:
During the fitting of NCP to each spectra, store the FSE corrections on workspaces.
During the data processing part before focusing data for y sapce fit, use the stored fse on the workspaces and subtract only the fse for the first mass from the isolated first mass for all spectra (before doing the weighted average).

It's not necessary to subtract the FSE for the other masses because this is done already when we subtract the ncp fits (since strictly speaknig the ncp fits include the FSE corrections i.e. NCP+FSE)

To test:

Part of the work in #113

- Added step for subtracting fitted FSE from each spectra before focusing

The idea behind this change is that subtracting FSE is more physically
correct and symmetrasion of the profile should be no longer necessary.
Fixes errors reported by system tests
@GuiMacielPereira GuiMacielPereira self-assigned this Jun 28, 2024
@GuiMacielPereira GuiMacielPereira linked an issue Jun 28, 2024 that may be closed by this pull request
5 tasks
@GuiMacielPereira
Copy link
Collaborator Author

Opened a newer PR at #138

@GuiMacielPereira GuiMacielPereira deleted the fse-correction-before-focusing branch November 15, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vesuvio-analysis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change routine for y-space fit
1 participant