def get_focus(self, filt=False, samples=None, subset=None, nominal=False):
if samples is not None:<EOL><INDENT>subset = self.make_subset(samples)<EOL><DEDENT>samples = self._get_samples(subset)<EOL>focus = {'<STR_LIT>': []}<EOL>focus.update({a: [] for a in self.analytes})<EOL>for sa in samples:<EOL><INDENT>s = self.data[sa]<EOL>focus['<STR_LIT>'].append(s.uTime)<EOL>ind = s.filt.grab_filt(filt)<EOL>for a in self.analytes:<EOL><INDENT>tmp = s.focus[a].copy()<EOL>tmp[~ind] = np.nan<EOL>focus[a].append(tmp)<EOL><DEDENT><DEDENT>if nominal:<EOL><INDENT>self.focus.update({k: nominal_values(np.concatenate(v)) for k, v, in focus.items()})<EOL><DEDENT>else:<EOL><INDENT>self.focus.update({k: np.concatenate(v) for k, v, in focus.items()})<EOL><DEDENT>return<EOL>
Collect all data from all samples into a single array.
Data from standards is not collected.

Parameters
----------
filt : str, dict or bool
    Either logical filter expression contained in a str,
    a dict of expressions specifying the filter string to
    use for each analyte or a boolean. Passed to `grab_filt`.
samples : str or list
    which samples to get
subset : str or int
    which subset to get

Returns
-------
None