-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tracer creation more robust (#928)
* Add option for spline integration. Fail loudly when integration does not converge. * Specify number of chi samples in tracers * Rename n_chi to n_sample. Add docstring. * Default to have warnings shown. * Add spline integration fall-back for lensing kernel. * Fixes for openmp * Fix typo. * Added flags for integration option. Warn if status message is being overwritten. * Switch between integration options. Check if lensing kernel integration error is sufficiently small compared to the peak of the kernel. * Allow get_kernel to return the internal spline representation. * Added tests for tracer integration options, delta n(z)s. * Remove left-over #define * Tests for n_samples argument * Add test for n_samples=None * Update docstrings * Remove superfluous warning. * Explicit abolute test tolerances. * Disable openmp in debug mode by default. * Correction for low-res n(z). * Account for case where z[0] != 0 * Make sure test covers edge case if test n(z) gets changed in the future. * Add warning if n(z) is poorly sampled.
- Loading branch information
1 parent
7661e81
commit fd54a21
Showing
9 changed files
with
525 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.