|
61 | 61 |
|
62 | 62 | ContinuousImage(img::IntensityMapTypes, cache::AbstractCache) = modelimage(ContinuousImage(img, cache.pulse), cache) |
63 | 63 |
|
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()) |
65 | 65 | xitr, yitr = imagepixels(fovx, fovy, size(img, 1), size(img,2), x0, y0) |
66 | 66 | img = IntensityMap(img, (X=xitr, Y=yitr), header) |
67 | 67 | # spulse = stretched(pulse, step(xitr), step(yitr)) |
68 | 68 | return ContinuousImage(img, pulse) |
69 | 69 | end |
70 | 70 |
|
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()) |
72 | 72 | return ContinuousImage(im, fov, fov, x0, y0, pulse, header) |
73 | 73 | end |
74 | 74 |
|
|
0 commit comments