Skip to content

Commit 6abcc1c

Browse files
committed
Fix to use NoHeader
1 parent e05f68e commit 6abcc1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/continuous_image.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ end
6161

6262
ContinuousImage(img::IntensityMapTypes, cache::AbstractCache) = modelimage(ContinuousImage(img, cache.pulse), cache)
6363

64-
function ContinuousImage(img::AbstractMatrix, fovx::Real, fovy::Real, x0::Real, y0::Real, pulse, header=nothing)
64+
function ContinuousImage(img::AbstractMatrix, fovx::Real, fovy::Real, x0::Real, y0::Real, pulse, header=ComradeBase.NoHeader())
6565
xitr, yitr = imagepixels(fovx, fovy, size(img, 1), size(img,2), x0, y0)
6666
img = IntensityMap(img, (X=xitr, Y=yitr), header)
6767
# spulse = stretched(pulse, step(xitr), step(yitr))
6868
return ContinuousImage(img, pulse)
6969
end
7070

71-
function ContinuousImage(im::AbstractMatrix, fov::Real, x0::Real, y0::Real, pulse, header=nothing)
71+
function ContinuousImage(im::AbstractMatrix, fov::Real, x0::Real, y0::Real, pulse, header=ComradeBase.NoHeader())
7272
return ContinuousImage(im, fov, fov, x0, y0, pulse, header)
7373
end
7474

0 commit comments

Comments
 (0)