def __init__(self, data, subject, xfmname, mask=None, **kwargs):
        if isinstance(data, str):
            import nibabel
            nib = nibabel.load(data)
            data = nib.get_data().T

        self.data = data
        try:
            basestring
        except NameError:
            subject = subject if isinstance(subject, str) else subject.decode('utf-8')
            xfmname = xfmname if isinstance(xfmname, str) else xfmname.decode('utf-8')
        self.subject = subject
        self.xfmname = xfmname
        self.attrs = kwargs
        
        self._check_size(mask)
        self.masked = Masker(self)

        #self.add_numpy_methods()
rowSpinBoxChanged() -> None
dataset/ETHPy150Open gallantlab/pycortex/cortex/dataset.py/VolumeData.__init__--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/spreadsheet_tab.py/StandardWidgetSheetTab.rowSpinBoxChanged