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

Feat: improved transfer function branch splitting #104

Merged
merged 3 commits into from
Apr 3, 2023

Conversation

fjebaker
Copy link
Member

@fjebaker fjebaker commented Apr 2, 2023

No description provided.

Preferentially samples at approximately 1/3 and 2/3 of the domain. Could
be useful for some edge cases.
Split branches off of pre-determined minima and maxima, therefore able
to allocate the branches in full and decide on which is the upper and
lower after they have been assembled.

The sorted interpolation now also first sets gstar extrema to 0.0 and
1.0 to avoid any erroneous extrapolation.

Toyed around with a few alternative methods for finding the extremal
redshifts when calculating the transfer functions. Some loose end code
in this commit solves using Optim for the extrema, however this is
largely untested and therefore not yet used.
@codecov-commenter
Copy link

Codecov Report

Merging #104 (9c21c9f) into main (2dbfa37) will decrease coverage by 0.76%.
The diff coverage is 59.01%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   67.83%   67.08%   -0.76%     
==========================================
  Files          53       53              
  Lines        1965     1993      +28     
==========================================
+ Hits         1333     1337       +4     
- Misses        632      656      +24     
Impacted Files Coverage Δ
src/image-planes/grids.jl 51.85% <0.00%> (-9.02%) ⬇️
...ransfer-functions/cunningham-transfer-functions.jl 78.43% <63.15%> (-19.01%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@fjebaker fjebaker merged commit f18dad9 into main Apr 3, 2023
@fjebaker fjebaker deleted the fergus/line-binning branch April 3, 2023 00:03
fjebaker added a commit that referenced this pull request Aug 22, 2023
* feat: added cos image planes

Preferentially samples at approximately 1/3 and 2/3 of the domain. Could
be useful for some edge cases.

* feat: improved branch split algorithm

Split branches off of pre-determined minima and maxima, therefore able
to allocate the branches in full and decide on which is the upper and
lower after they have been assembled.

The sorted interpolation now also first sets gstar extrema to 0.0 and
1.0 to avoid any erroneous extrapolation.

Toyed around with a few alternative methods for finding the extremal
redshifts when calculating the transfer functions. Some loose end code
in this commit solves using Optim for the extrema, however this is
largely untested and therefore not yet used.

* chore: bump version
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.

2 participants