class_docstr: Shared options for several AFNI commands.
docstr: Set the default output type for AFNI classes.
  
  This method is used to set the default output type for all afni
  subclasses.  However, setting this will not update the output
  type for any existing instances.  For these, assign the
  <instance>.inputs.outputtype.
code: def set_default_output_type(cls, outputtype):
      """
      Set the default output type for AFNI classes.
  
      This method is used to set the default output type for all afni
      subclasses.  However, setting this will not update the output
      type for any existing instances.  For these, assign the
      <instance>.inputs.outputtype.
      """
      if outputtype in Info.ftypes:
          cls._outputtype = outputtype
      else:
          raise AttributeError(
              "Invalid AFNI outputtype: %s" % outputtype
          )
  
imports: import os
  from sys import platform
  import shutil
  from looseversion import LooseVersion
  from ...None import logging
  from ...utils.filemanip import split_filename, fname_presuffix
  from ..base import CommandLine, traits, CommandLineInputSpec, isdefined, File, TraitedSpec, PackageInfo
  from ...external.due import BibTeX
label_desc: Use image node_id 3 for calling the AFNICommand obj's underlying member method code with example usage: obj.set_default_output_type(cls, outputtype) without return types