-
Notifications
You must be signed in to change notification settings - Fork 4
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
Quadfit #22
Conversation
Codecov Report
@@ Coverage Diff @@
## main #22 +/- ##
==========================================
+ Coverage 31.11% 31.87% +0.75%
==========================================
Files 32 32
Lines 1324 1324
==========================================
+ Hits 412 422 +10
+ Misses 912 902 -10
Continue to review full report at Codecov.
|
@testset "RV injection/extraction" begin | ||
# velocities | ||
amp = 1.0 # meters per second | ||
vel = amp .* sin.(range(0, 2π, length=100)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could just test for [-\pi/2,\pi/2) and cut length in half.
rvs_quad = zeros(length(vel)) | ||
sig_quad = zeros(length(vel)) | ||
for i in eachindex(vel) | ||
rvs_gauss[i], sig_gauss[i] = mrv_gauss(v_grid, view(ccf, :, i)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could add test that calls version of functions that also take uncertainties in fluxes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
There are two things included in this pull request:
download_soap_example.jl
so that the build step no longer fails -- EchelleCCFs fails to build due to Box download fail #21 .