getSearchlightPattern function

Extract searchlight pattern from a SPM