class_docstr: Mixin class with basic frequency comparison operations.
class_docstr_tok: ["Mixin","class","with","basic","frequency","comparison","operations","."]
docstr: Convert `frq` to this type if possible.
docstr_tok: ["Convert","`","frq","`","to","this","type","if","possible","."]
code: def convert(cls, frq):
      """Convert `frq` to this type if possible."""
      if isinstance(frq, dict):
          return cls(**frq)
      return frq
  
imports: import numbers
  from contextlib import suppress
  from typing import NamedTuple
  import numpy
label_desc: Use image node_id 3 for calling the FrequencyBandBaseArithmetics obj's underlying member method code with example usage: obj.convert(cls, frq) and returns: frq, cls