docstr: Return the operand structures that participate in the calculation
  
  Return just the first operand for unary operations, return both
  for binary.
docstr_tok: ["Return","the","operand","structures","that","participate","in","the","calculation","Return","just","the","first","operand","for","unary","operations",",","return","both","for","binary","."]
code: def get_operands(self):
      """Return the operand structures that participate in the calculation
  
      Return just the first operand for unary operations, return both
      for binary.
      """
      if self.operation == O_NONE:
          return (self.operands[0],)
      else:
          return self.operands
  
imports: import logging
  import numpy
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.constants.measurement import R_FIRST_IMAGE_NUMBER
  from cellprofiler_core.constants.measurement import R_FIRST_OBJECT_NUMBER
  from cellprofiler_core.constants.measurement import R_PARENT
  from cellprofiler_core.constants.measurement import R_SECOND_IMAGE_NUMBER
  from cellprofiler_core.constants.measurement import R_SECOND_OBJECT_NUMBER
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import Divider
  from cellprofiler_core.setting import Measurement
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import Alphanumeric
  from cellprofiler_core.setting.text import Float
  from cellprofiler_core.setting.text import Integer
label_desc: Use image node_id 10 for calling the CalculateMath obj's underlying member method code with example usage: obj.get_operands() and returns: self, self