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
orndarray
orQuantity
, optional) – The bounds of the source AREPO snapshot corresponding to the grid, in the format[xmin, xmax, ymin, ymax, zmin, zmax]
. IfNone
(default), thenscale='pixel'
, elsescale='physical'
. If not anQuantity
, assumed to be inAREPO_LENGTH
units.verbose (bool, optional) – If
True
, prints output during file reading. Default value isFalse
.