speedy_subset#
- speedy_subset(df, roi_sids)#
Speedy intersects is meant to subset large (long) STAREDataFrame to a subset that intersects the roi.
- This method works particularly well if
the df has significantly more SIDs than the roi_sids
The SIDs of the df are at higher level than the roi_sids
- Parameters
- df: starepandas.STAREDataFrame
the dataframe that is to be subset
- roi_sids: array-like
a set of SIDs describing the roi to whch the df is to be subset