Skip to content

Commit eb3dd8e

Browse files
committed
typeo
1 parent 424306b commit eb3dd8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/continuum_rassine_like.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ function calc_continuum(λ::AV1, f_obs::AV2, var_obs::AV3, anchors::AV5; λout::
649649
mean_snr_per_pix = calc_mean_snr(f_obs,var_obs)
650650
#smoothing_half_width = (mean_snr_per_pix >= 30) ? smoothing_half_width : 40
651651
if mean_snr_per_pix < 30
652-
smoothing_half_width_float = 6*(30/mean_snr_per_pix)^2)
652+
smoothing_half_width_float = 6*(30/mean_snr_per_pix)^2
653653
smoothing_half_width = smoothing_half_width_float>100 ? 100 : ceil(Int64,smoothing_half_width_float)
654654
end
655655
f_smooth = Continuum.smooth(f_obs, half_width=smoothing_half_width)

0 commit comments

Comments
 (0)