def samples(self):
        """Yield the samples as dicts, keyed by dimensions."""
        names = self.series.dimensions
        for values in zip(*(getattr(self.series, name) for name in names)):
            yield dict(zip(names, values))
Yield the samples as dicts, keyed by dimensions.