swiftsimio.visualisation.smoothing_length.sph module

Tools to get SPH smoothing lengths.

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

Extract the smoothing lengths from a particle dataset.

Parameters:

data (__SWIFTGroupDataset) – The particle dataset from which smoothing lengths will be extracted.

Returns:

The extracted smoothing lengths.

Return type:

cosmo_array