From b4b1d4db775ec1668ce4cc39fbef3c25f1858cbe Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <MichielCottaar@protonmail.com> Date: Sat, 25 May 2024 17:03:59 +0100 Subject: [PATCH] Explain variables are readout --- src/parts/epi_readouts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parts/epi_readouts.jl b/src/parts/epi_readouts.jl index e74d20d..f87de0b 100644 --- a/src/parts/epi_readouts.jl +++ b/src/parts/epi_readouts.jl @@ -61,7 +61,7 @@ function EPIReadout(; resolution::AbstractVector{<:Integer}, recenter=false, gro return res end -@defvar begin +@defvar readout begin inverse_fov(epi::EPIReadout) = [variables.inverse_fov(epi.positive_line), 1e3 * epi.ky_step] inverse_voxel_size(epi::EPIReadout) = [variables.inverse_voxel_size(epi.positive_line), 1e3 * epi.ky_step * maximum(abs.(epi.ky_lines))] resolution(epi::EPIReadout) = [variables.resolution(epi.positive_line), maximum(abs.(epi.ky_lines))] -- GitLab