scipp.counts_to_density# scipp.counts_to_density(x, dim)# Converts counts to count density on a given dimension. Parameters: x (DataArray | Dataset) – Data as counts. dim (str) – Dimension on which to convert. Returns: DataArray | Dataset – Data as count density.