From a30a1b26e420e50882b51a2dadecf27f0d50baef Mon Sep 17 00:00:00 2001 From: Paul Tiede Date: Fri, 15 Jul 2022 13:34:18 -0400 Subject: [PATCH] update mods --- src/models/modifiers.jl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/models/modifiers.jl b/src/models/modifiers.jl index bbbd427b..260994d2 100755 --- a/src/models/modifiers.jl +++ b/src/models/modifiers.jl @@ -120,10 +120,14 @@ function transform_uv end # return ut, vt, scale # end -#@inline function _visibilities(m::AbstractModifier, u::AbstractArray, v::AbstractArray, args...) -# ut, vt, scales = apply_uv_transform(m, u, v) -# scales.*visibilities(unmodified(m), ut, vt, args...) -#end +# @inline function _visibilities(m::M, u::AbstractArray, v::AbstractArray, args...) {M<:AbstractModifier} +# return _visibilities(visanalytic(M), m, u, v, args...) +# end + +# @inline function _visibilities(::NotAnalytic, m::AbstractModifier, u::AbstractArray, v::AbstractArray, args...) +# ut, vt, scales = apply_uv_transform(m, u, v) +# scales.*visibilities(unmodified(m), ut, vt, args...) +# end # I need some special pass-throughs for the non-analytic FFT transform