code: def convert(self, frame):
      if self._frame == frame:
          return self
  
      offset = self.allowed[self._frame][frame]
  
      return Epoch(frame, self._seconds + offset, self._jd)
  
file_path: matplotlib/lib/matplotlib/testing/jpl_units/Epoch.py
imports: import functools
  import operator
  import math
  import datetime
  from matplotlib import _api
  from matplotlib.dates import date2num
label_desc: Use image node_id 2 for calling the Epoch obj's underlying member method code with example usage: obj.convert(frame) and returns: Epoch, self