get_dyns function

Extract a subset of dynamic scans.