# Lyα photons from a central source through the TNG50 gas cutout. [AI-Codex]
dataset_type: pointcloud_voronoi
driver_type: mcrtsimulation
device: cpu
pointcloud_voronoi:
  hilbert_bits: 8
  loader: gadget
  gadget:
    path: ./tng50-halo625-gas-stars-v2.hdf5
    fields: [PositionX, PositionY, PositionZ, Temperature, Density, HIdensity, VelocityX, VelocityY, VelocityZ]
    zoom_box: [[0.4945, 0.5055], [0.4945, 0.5055], [0.4919, 0.5029]]
mcrtsimulation:
  outputpath: output-tng-lya
  overwrite: true
  linename: Lya
  nphotons_max: 10000
  nphotons_step_max: 10000
  nsteps_per_photon_max: 10000000
  acc_scheme: Smith15
  use_atau0nl: true
  emissionmodel:
    mode: singlesource
    singlesource:
      nphotons: 10000
      lum_total: 1.0e+42
      position: [0.509, 0.489, 0.736]
    spectrum:
      shape: delta
      constant:
        shift: 0.0
  use_peeling: true
  outputprocessors:
  - type: photon
    streams: [input, original]
  - type: sbmap
    center: [0.509, 0.489, 0.736]
    north: [0.0, 1.0, 0.0]
    nbins_x: 96
    nbins_y: 64
    left_x: 0.401
    right_x: 0.599
    left_y: 0.434
    right_y: 0.566
  - type: apertureSpectrum
    center: [0.509, 0.489, 0.736]
    north: [0.0, 1.0, 0.0]
    left: -5.0
    right: 5.0
    nbins: 80
    aperture_radii: [10 pkpc, 30 pkpc, 500 pkpc]
