ics.ClusterICs.create_dataset#
- ClusterICs.create_dataset(domain_dimensions, box_size, left_edge=None, **kwargs)[source]#
Create an in-memory, uniformly gridded dataset in 3D using yt by placing the clusters into a box. When adding multiple clusters, per-volume quantities from each cluster such as density and pressure are added, whereas per-mass quantities such as temperature and velocity are mass-weighted.
- Parameters:
domain_dimensions (
3-tuple
ofints
) – The number of cells on a side for the domain.box_size (
float
) – The size of the box in kpc.left_edge (
array_like
, optional) – The minimum coordinate of the box in all three dimensions, in kpc. Default: None, which means the left edge will be [0, 0, 0].