#import "globals.typ": *

== The "painting" procedure

#let notebook = json("../workdir/11_visualization/simplified_visualization_of_procedure.ipynb")

#grid(
  columns: (auto, 5em, auto, 5em, auto),
  rows: (60%, auto),
  align: center,
  row-gutter: 2em,
  image_cell(notebook, cell_id: "step_profile_1d"),
  [#pin(1)$==>$#pin(2)],
  image_cell(notebook, cell_id: "step_kernel_3d"),
  [#pin(3)$==>$#pin(4)],
  image_cell(notebook, cell_id: "step_profile_3d"),

  [
   1-d profile
  ],
  [],
  [
   3-d kernel

   (localized)
  ],
  [],
  [
   3-d contribution on a grid
  ],
)


#pause
#pinit-point-to(
  (1, 2),
  pin-dx: 20pt,
  pin-dy: -30pt,
  body-dx: -70pt,
  body-dy: -95pt,
  offset-dx: 20pt,
  offset-dy: 30pt,
)[spherical symmetry]


#pause
#pinit-point-to(
  (3, 4),
  pin-dx: 20pt,
  pin-dy: -30pt,
  body-dx: -70pt,
  body-dy: -95pt,
  offset-dx: 20pt,
  offset-dy: 30pt,
)[convolution (`FFT`)]


#pagebreak()


#grid(
  columns: (auto, 8em, auto),
  rows: (38%, 1em, 38%),
  align: center,
  column-gutter: 2em,
  row-gutter: 0.3em,

  image_cell(notebook, cell_id: "step_profile_3d"),
  grid.cell(
    rowspan: 3,
    image_cell(notebook, cell_id: "step_profile_3d_overlap"),
  ),
  [],


  [#h(3em) Multiple contributions $==>$],
  [
    $==>$ _Postprocessing_

    (overlaps, normalization, ...)
  ],

  image_cell(notebook, cell_id: "step_profile_3d_second"),
  [],
)

#pagebreak()

== Postprocessing

- ionization overlaps

- corrections due to RSD
- computation of derived quantities
- summary statistics


== Maps
Through the redshifting of photons, the brightness temperature across redshift slices will be measured in a frequency band

$=>$ representation as a lightcone
#align(center)[
  #image("assets/lightcone.png")
]
from @Schaeffer_2023

== Signal
#align(center)[
  #image("assets/signals.png")
]
from @Schaeffer_2023
