Skip to content

Commit

Permalink
fix typeos ssbz vs ssb_z, actually call apply_doppler_boost
Browse files Browse the repository at this point in the history
  • Loading branch information
eford committed May 26, 2021
1 parent 93c4502 commit 1483bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/spectra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ function apply_doppler_boost!(spectra::AS, dict::AbstractDict ) where { AS<:Abst
have_issued_diffext_warning = true
end
if haskey(dict,:diff_ext_rv) doppler_factor *= calc_doppler_factor.(dict[:diff_ext_rv]) end
=#
if haskey(dict,:binaryRV) doppler_factor *= calc_doppler_factor.(dict[:binaryRV]) end
apply_doppler_boost!(spectra,doppler_factor)
=#
return spectra
end

Expand All @@ -108,7 +108,7 @@ function apply_doppler_boost!(spectra::AbstractArray{AS}, df::DataFrame ) where
@info "apply_doppler_boost! didn't find :ssb_rv or :ssbz to apply."
have_issued_ssb_warning = true
end
if hasproperty(df,:ssb_z)
if hasproperty(df,:ssbz)
doppler_factor .*= calc_doppler_factor.(z=df[!,:ssbz])
elseif hasproperty(df,:ssb_rv)
doppler_factor .*= calc_doppler_factor.(df[!,:ssb_rv])
Expand Down

2 comments on commit 1483bbe

@eford
Copy link
Member Author

@eford eford commented on 1483bbe May 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

  • Updates for NEID DRP 1.0.0
  • Updates for HARPS/HARPS-N support
  • Compat updates
  • Support for binary stars
  • Minor bug fixes

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/37529

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" 1483bbeca7645cce3703eb410a77c56c8e8de9d7
git push origin v0.2.1

Please sign in to comment.