+
     ]i  c                   sV    R t ^ RIHtHt ^ RIHt R.t ! R R]P                  4      t	R# )z6EpochConverter module containing class EpochConverter.)cbookunitsNEpochConverterc                   s   a  ] tR t^	t o RtRt]R 4       t]R 4       t]R 4       t	]R 4       t
]R 4       t]R 4       tR	tV tR
# )r   zT
Provides Matplotlib conversion functionality for Monte Epoch and Duration
classes.
g   QD:Ac                s    \         P                  ! 4       p\         P                  ! V4      p\        P                  ! W#V R 7      # ))majlocmajfmtZlabel)date_tickerZAutoDateLocatorZAutoDateFormatterr   ZAxisInfo)unitaxisr   r      &&  R/usr/lib64/python3.14/site-packages/matplotlib/testing/jpl_units/EpochConverter.pyaxisinfoZEpochConverter.axisinfo   s3     ,,...v6~~V$GG    c                s    ^ RI Hu Hp V R,          VP                  RR4      ,          pVP	                  W\
        P                  4      # )a  
Convert a Matplotlib floating-point date into an Epoch of the specified
units.

= INPUT VARIABLES
- value     The Matplotlib floating-point date.
- unit      The unit system to use for the Epoch.

= RETURN VALUE
- Returns the value converted to an Epoch in the specified time system.
N     @g      ?Zsec)matplotlib.testing.jpl_unitstesting	jpl_unitsZUnitDblZEpochr   jdRef)valuer   UZ
secPastRefr   r	   float2epochZEpochConverter.float2epoch   s:     	10W_qyye'<<
wwt)=)=>>r   c                sN    V P                  V4      \        P                  ,
          # )a&  
Convert an Epoch value to a float suitable for plotting as a python
datetime object.

= INPUT VARIABLES
- value    An Epoch or list of Epochs that need to be converted.
- unit     The units to use for an axis with Epoch data.

= RETURN VALUE
- Returns the value parameter converted to floats.
)Z
julianDater   r   )r   r      &&r	   epoch2floatZEpochConverter.epoch2float+   s      %(<(<<<r   c                s0    V P                  4       R,          # )z
Convert a Duration value to a float suitable for plotting as a python
datetime object.

= INPUT VARIABLES
- value    A Duration or list of Durations that need to be converted.

= RETURN VALUE
- Returns the value parameter converted to floats.
r   )Zseconds)r   s   &r	   duration2floatZEpochConverter.duration2float:   s     }}((r   c                s^   ^ RI Hu Hp \        P                  ! V 4      '       g'   V  Uu. uF  p\
        P                  WAV4      NK  	  up# Vf   \
        P                  W4      p\        WP                  4      '       d   \
        P                  V 4      # \
        P                  W4      # u upi )    N)r   r   r   r    is_scalar_or_stringr   convertdefault_unitsZ
isinstanceZDurationr   r   )r   r   r   r   Zxs   &&&  r	   r   ZEpochConverter.convertH   s    
 	10((//CHI5aN**1D95II<!//<DeZZ((!0077!--e:: Js   B*c                s    \         P                  ! V 4      '       d   V P                  4       # \        P	                  V ^ ,          V4      # )r   )r    r   Zframer   r   )r   r   r   r	   r   ZEpochConverter.default_unitsX   s8     $$U++;;= !//a$??r    N)Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   Zstaticmethodr
   r   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r	   r   r   	   s     
 EH H ? ?$ = = ) ) ; ; @ @r   )
r   Z
matplotlibr    r   Zmatplotlib.datesZdatesr   Z__all__ZConversionInterfacer   r   r   r	   <module>r      s,    < # &
U@U.. U@r   