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

Fix formal integral spikes bug #971

Merged
merged 1 commit into from Oct 30, 2019

Conversation

chvogl
Copy link
Contributor

@chvogl chvogl commented Oct 23, 2019

Fixes a bug in the formal integral that produces high amplitude spikes in the integrated spectrum (see #970).

@chvogl chvogl changed the title Fix formal integral spikes bug (see #970) Fix formal integral spikes bug Oct 23, 2019
@chvogl
Copy link
Contributor Author

chvogl commented Oct 23, 2019

I have switched from linear interpolation of the tau_sobolevs to an interpolation scheme that produces constant values within a non-interpolated shell; this behavior is closer to what actually happens in the MC simulation and prevents extrapolation to negative values. The scheme only matches the treatment MC simulation exactly if the number of interpolated shells is a multiple of the original number. Should we enforce something like this?

@wkerzendorf wkerzendorf merged commit 76db0d6 into tardis-sn:master Oct 30, 2019
atharva-2001 pushed a commit to atharva-2001/tardis that referenced this pull request Oct 1, 2021
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.

None yet

2 participants