class_docstr: Extends `BaseInterface` class to implement SPM specific interfaces.
  
  WARNING: Pseudo prototype class, meant to be subclassed
class_docstr_tok: ["Extends","`","BaseInterface","`","class","to","implement","SPM","specific","interfaces",".","WARNING",":","Pseudo","prototype","class",",","meant","to","be","subclassed"]
code: def __init__(self, **inputs):
      super().__init__(**inputs)
      self.inputs.on_trait_change(
          self._matlab_cmd_update,
          ["matlab_cmd", "mfile", "paths", "use_mcr"],
      )
      self._find_mlab_cmd_defaults()
      self._check_mlab_inputs()
      self._matlab_cmd_update()
  
imports: import os
  from copy import deepcopy
  from nibabel import load
  import numpy
  from ...None import logging
  from ...utils import spm_docs
  from ..base import BaseInterface, traits, isdefined, InputMultiPath, BaseInterfaceInputSpec, Directory, Undefined, ImageFile, PackageInfo
  from ..base.traits_extension import NoDefaultSpecified
  from ..matlab import MatlabCommand
  from ...external.due import due, Doi, BibTeX
label_desc: Use image node_id 1 to create a new SPMCommand object from inherited base classes: BaseInterface with example: obj = SPMCommand()