The random_selector Module

This modules selects random lines from the the data from CSV files and outputs the selected lines.

See also Random selector for CMS data

select(pattern: str, destination: str, threshold: float)[source]
args()[source]

Parses command line arguments

--in INPUT

pattern to select incoming files

--out OUT

Directory to output the random selection

--selector SELECTOR

A float value specifying the share of data to be selected

Returns

arguments as dictionary