class_docstr: Performs skull-stripping using a model trained in DeepNeuro.
      
class_docstr_tok: ["Performs","skull-stripping","using","a","model","trained","in","DeepNeuro","."]
docstr: Parameters
  ----------
  name : str, optional
      Preprocessor name for internal use. Default is 'SkullStrip_Model'
  preprocessor_string: str, optional
      Appended suffix to filenames saved out from this preprocessor.
      Default is '_SkullStripped'
  reference_channel: int or list, optional
      
  model: DeepNeuroModel, optional
      DeepNeuroModel from which to run inference in this preprocessor.
docstr_tok: ["Parameters","--","--","--","--","--","name",":","str",",","optional","Preprocessor","name","for","internal","use",".","Default","is","'SkullStrip_Model'","preprocessor_string",":","str",",","optional","Appended","suffix","to","filenames","saved","out","from","this","preprocessor",".","Default","is","'_SkullStripped'","reference_channel",":","int","or","list",",","optional","model",":","DeepNeuroModel",",","optional","DeepNeuroModel","from","which","to","run","inference","in","this","preprocessor","."]
code: def load(self, kwargs):
      """Parameters
      ----------
      name : str, optional
          Preprocessor name for internal use. Default is 'SkullStrip_Model'
      preprocessor_string: str, optional
          Appended suffix to filenames saved out from this preprocessor.
          Default is '_SkullStripped'
      reference_channel: int or list, optional
  
      model: DeepNeuroModel, optional
          DeepNeuroModel from which to run inference in this preprocessor.
  
      """
  
      add_parameter(self, kwargs, "reference_channel", [0, 1])
      add_parameter(self, kwargs, "model", None)
  
      # Data Output Parameters
      add_parameter(
          self, kwargs, "output_filename", "skullstrip_mask.nii.gz"
      )
  
      add_parameter(self, kwargs, "name", "SkullStrip_Model")
      add_parameter(
          self, kwargs, "preprocessor_string", "_SkullStripped"
      )
  
      self.array_input = True
  
      self.mask_string = "_Skullstrip_Mask"
      self.mask_filename = None
      self.mask_numpy = None
  
      if type(self.reference_channel) is not list:
          self.reference_channel = [self.reference_channel]
  
file_path: DeepNeuro/deepneuro/preprocessing/skullstrip.py
imports: import subprocess
  import os
  import numpy
  from deepneuro.preprocessing.preprocessor import Preprocessor
  from deepneuro.utilities.conversion import read_image_files, save_numpy_2_nifti
  from deepneuro.utilities.util import add_parameter, quotes
  from deepneuro.outputs.segmentation import PatchesInference
  from deepneuro.postprocessing.label import BinarizeLabel, FillHoles, LargestComponents
  from deepneuro.models.model import load_model_with_output
label_desc: Use image node_id 1 for calling the SkullStrip_Model obj's underlying member method code with example usage: obj.load(kwargs) without return types