+
    ,i                     V    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                      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                    \         P                  ! 4       p\         P                  ! V4      p\        P                  ! W#V R 7      # ))majlocmajfmtlabel)date_tickerAutoDateLocatorAutoDateFormatterr   AxisInfo)unitaxisr   r   s   &&  M/usr/lib/python3/dist-packages/matplotlib/testing/jpl_units/EpochConverter.pyaxisinfoEpochConverter.axisinfo   s3     ,,...v6~~V$GG    c                    ^ 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      ?sec)matplotlib.testing.jpl_unitstesting	jpl_unitsUnitDblEpochr   jdRef)valuer   U
secPastRefs   &&  r   float2epochEpochConverter.float2epoch   s:     	10W_qyye'<<
wwt)=)=>>r   c                N    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.
)
julianDater   r   )r   r   s   &&r   epoch2floatEpochConverter.epoch2float+   s      %(<(<<<r   c                0    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   )seconds)r   s   &r   duration2floatEpochConverter.duration2float:   s     }}((r   c                ^   ^ 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_units
isinstanceDurationr(   r$   )r   r   r   r   xs   &&&  r   r-   EpochConverter.convertH   s    
 	10((//CHI5aN**1D95II<!//<DeZZ((!0077!--e:: Js   B*c                    \         P                  ! V 4      '       d   V P                  4       # \        P	                  V ^ ,          V4      # )r+   )r   r,   framer   r.   )r   r   s   &&r   r.   EpochConverter.default_unitsX   s8     $$U++;;= !//a$??r    N)__name__
__module____qualname____firstlineno____doc__r   staticmethodr   r    r$   r(   r-   r.   __static_attributes____classdictcell__)__classdict__s   @r   r   r   	   s     
 EH H ? ?$ = = ) ) ; ; @ @r   )
r;   
matplotlibr   r   matplotlib.datesdatesr
   __all__ConversionInterfacer   r6   r   r   <module>rE      s,    < # &
U@U.. U@r   