cosmo independent samples partitioner hdr

function partitions = cosmo_independent_samples_partitioner(ds, varargin)