class_docstr: The Frequency range class.
  
  The elements of the range are central and bandwidth values, and optionally
  a unit (defaults to GHz). No clever unit conversion is done here, it's just
  used for checking that two ranges are comparable.
  
  This type is used for passive microwave sensors.
class_docstr_tok: ["The","Frequency","range","class",".","The","elements","of","the","range","are","central","and","bandwidth","values",",","and","optionally","a","unit","(","defaults","to","GHz",")",".","No","clever","unit","conversion","is","done","here",",","it","'s","just","used","for","checking","that","two","ranges","are","comparable",".","This","type","is","used","for","passive","microwave","sensors","."]
docstr: Check wether two channel frequencies are equal.
  
  Args:
      other (tuple or scalar): (central frq, band width frq) or scalar frq
  
  Return:
      True if other is a scalar and min <= other <= max, or if other is a
      tuple equal to self, or if other is a number contained by self.
      False otherwise.
docstr_tok: ["Check","wether","two","channel","frequencies","are","equal",".","Args",":","other","(","tuple","or","scalar",")",":","(","central","frq",",","band","width","frq",")","or","scalar","frq","Return",":","True","if","other","is","a","scalar","and","min","<","=","other","<","=","max",",","or","if","other","is","a","tuple","equal","to","self",",","or","if","other","is","a","number","contained","by","self",".","False","otherwise","."]
code: def __eq__(self, other):
      """Check wether two channel frequencies are equal.
  
      Args:
          other (tuple or scalar): (central frq, band width frq) or scalar frq
  
      Return:
          True if other is a scalar and min <= other <= max, or if other is a
          tuple equal to self, or if other is a number contained by self.
          False otherwise.
  
      """
      if other is None:
          return False
      if isinstance(other, numbers.Number):
          return other in self
      if isinstance(other, (tuple, list)) and len(other) == 2:
          return self[:2] == other
      return super().__eq__(other)
  
imports: import numbers
  from contextlib import suppress
  from typing import NamedTuple
  import numpy
label_desc: Use image node_id 1 for calling the FrequencyRange obj's underlying member method code with example usage: obj.__eq__(other) and returns: super, False, unknown, unknown