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

271 add interpolation in case of significant source function variation #272

Conversation

ThomasCeulemans
Copy link
Collaborator

Adds interpolation for source function, opacity, emissivity (log interpolation) and line width (linear interpolation).
Note: This new interpolation is mandatory and slightly (about a factor 1.3) slower than the previous magritte version in models without interpolation.

Features:

  • Interpolation based on difference in line opacity
  • New parameter max_interpolation_diff for regulating how much interpolation points are needed
  • The parameter min_line_opacity can (and should) now be put much lower (new default 1e-13, prev default 1e-10)
  • Updated docs concerning relevant parameters to set
  • Should fix Add interpolation in case of significant source function variation #271 and all previous related issues

@ThomasCeulemans ThomasCeulemans merged commit f647aa6 into stable Oct 8, 2024
4 checks passed
@ThomasCeulemans ThomasCeulemans deleted the 271-add-interpolation-in-case-of-significant-source-function-variation branch October 8, 2024 08:38
@ThomasCeulemans ThomasCeulemans restored the 271-add-interpolation-in-case-of-significant-source-function-variation branch October 8, 2024 15:31
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.

Add interpolation in case of significant source function variation
1 participant