1 2 3 4 5 6 7 8 9 10 11
FUNCTION muse_phangs_weightst2bin_numbers,st,Nbin=Nbin tags=tag_names(st) tags_start=strmid(tags,0,2) ind_weight=where(tags_start EQ 'W_',count) bin_numbers=long(strmid(tags[ind_weight],2,10)) Nbin=n_elements(bin_numbers) RETURN,bin_numbers END