class_docstr: Basic scaling Spm Analyze header
class_docstr_tok: ["Basic","scaling","Spm","Analyze","header"]
docstr: Get scalefactor and intercept
  
  If scalefactor is 0.0 return None to indicate no scalefactor.
  Intercept is always None because SPM99 analyze cannot store intercepts.
docstr_tok: ["Get","scalefactor","and","intercept","If","scalefactor","is","0.0","return","None","to","indicate","no","scalefactor",".","Intercept","is","always","None","because","SPM99","analyze","can","not","store","intercepts","."]
code: def get_slope_inter(self):
      """Get scalefactor and intercept
  
      If scalefactor is 0.0 return None to indicate no scalefactor.
      Intercept is always None because SPM99 analyze cannot store intercepts.
      """
      slope = self._structarr["scl_slope"]
      # Return invalid slopes as None
      if np.isnan(slope) or slope in (0, -np.inf, np.inf):
          return None, None
      return slope, None
  
imports: import warnings
  from io import BytesIO
  import numpy
  from .None import analyze
  from .batteryrunners import Report
  from .optpkg import optional_package
  from .spatialimages import HeaderDataError, HeaderTypeError
label_desc: Use image node_id 2 for calling the SpmAnalyzeHeader obj's underlying member method code with example usage: obj.get_slope_inter() and returns: slope,  None, None,  None