fiesta.arepo.ArepoCubicGrid.set_scale#

ArepoCubicGrid.set_scale(AREPO_bounds)[source]#

Set the physical scale of the grid by specifying the bounds of the source AREPO snapshot that the grid corresponds to.

Parameters:
  • AREPO_bounds (list or ndarray or Quantity, optional) – The bounds of the source AREPO snapshot corresponding to the grid, in the format [xmin, xmax, ymin, ymax, zmin, zmax]. If None (default), then scale='pixel', else scale='physical'. If not an Quantity, assumed to be in AREPO_LENGTH units.

  • verbose (bool, optional) – If True, prints output during file reading. Default value is False.