subtom_random_subset_motl
Generates a random subset of a motive list.
subtom_random_subset_motl(
'input_motl_fn', input_motl_fn (''),
'output_motl_fn', output_motl_fn (''),
'subset_size', subset_size (1000),
'subset_row', subset_row (7))
Takes the motive list given by input_motl_fn
, and generates a random
subset of subset_size
particles where the subset is distributed equally
over the motive list field subset_row
, and then writes the subset motive
list out as output_motl_fn
.
Example
subtom_random_subset_motl(...
'input_motl_fn', 'combinedmotl/allmotl_2.em', ...
'output_motl_fn', 'combinedmotl/s5kmotl_2.em', ...
'subset_size', 5000, ...
'subset_row', 7)