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

chi2 penalty for negative emission lines #215

Open
sbailey opened this issue Jul 12, 2022 · 2 comments
Open

chi2 penalty for negative emission lines #215

sbailey opened this issue Jul 12, 2022 · 2 comments
Assignees

Comments

@sbailey
Copy link
Collaborator

sbailey commented Jul 12, 2022

Currently redrock has a chi2 penalty when the PCA fit results in negative [OII], but not for other lines. Explore whether adding chi2 penalties against [OIII], Halpha, and Hbeta would help. Don't penalize these if they are in a redshift range that is unconstrained by the data, and subtract the model continuum first.

@sbailey sbailey added this to Iron Jul 12, 2022
@sbailey sbailey moved this to In Progress in Iron Jul 12, 2022
@RaffaellaCapasso
Copy link

I added a chi2 penalty for negative [OIII], and modified the [OII] one so that it also takes into account the continuum (not necessarily showing a negative flux, but a flux lower than the continuum). See pull request 219).

Here are some examples in which the best-fit result presents a negative [OIII] line (red line), but the second best fit does not (blue line).

Targets in “global/cfs/cdirs/desi/users/sjbailey/redrock/example_failures”:

39628432232943703
39628448234213526
39628448234216020

Fuji targets:

39633428106185042
39633438721969162
39633443914515633
39633436100529745
39633430798930477
39633430803120916
39633430803124467

Below are the same fuji targets as above, after having run redrock with the new penalty. The first plot shows in red the original best-fit result, the remaining 5 plots show the new best (red) and second best (blue) fits, zoomed in around relevant wavelengths.

39633428106185042
39633438721969162
39633443914515633
39633436100529745
39633430798930477
39633430803120916
39633430803124467

So far, over 86 original fuji targets with negative OIII line, only 13 retained this feature in their best-fit template. More runs can be made to increase the statistics.

@moustakas
Copy link
Member

I think that with non-negative templates and fitting methods, we're moving away from ad-hoc penalization of negative (and unphysical) emission lines, so I propose we close this ticket unless the work is still ongoing.

@RaffaellaCapasso do you have any more recent updates either here or related to #219?

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

No branches or pull requests

3 participants