swiftsimio.visualisation.smoothing_length.sph module

Tools to get SPH smoothing lengths.

swiftsimio.visualisation.smoothing_length.sph.get_hsml(data: SWIFTDataset) cosmo_array[source]

Extract the smoothing lengths from the gas particles (used for slicing).

Parameters:

data (SWIFTDataset) – The Dataset from which slice will be extracted.

Returns:

The extracted smoothing lengths.

Return type:

cosmo_array