# Project a TNG50 cutout onto a temperature map. [AI-Codex]
dataset_type: pointcloud_voronoi
driver_type: raytracer
device: cpu

pointcloud_voronoi:
  hilbert_bits: 8
  loader: gadget
  gadget:
    path: ./tng50-halo625-gas-stars-v2.hdf5
    fields: [PositionX, PositionY, PositionZ, Temperature, Density]
    zoom_box: [[0.4945, 0.5055], [0.4945, 0.5055], [0.4919, 0.5029]]

raytracer:
  dist_max: 1.0
  max_step: 0.01
  outputpath: temperature.zr
  overwrite: true
  operators:
    projections:
      fields: [Temperature]
      mode: manual
      view: orthogonal
      widths: [0.264, 0.176]
      npixels: [768, 512]
      position: [0.5, 0.5, 0.01]
      direction: [0.0, 0.0, 1.0]
      up: [0.0, 1.0, 0.0]
      use_weighting: true
      perform_averaging: true
