B
    q\                 @   sF   d dl mZmZ G dd dZG dd deeZG dd deeZdS )	    )IrreducibleUnitUnitc               @   s   e Zd ZdZdddZdS )FunctionMixina  Mixin class that makes UnitBase subclasses callable.

    Provides a __call__ method that passes on arguments to a FunctionUnit.
    Instances of this class should define ``_function_unit_class`` pointing
    to the relevant class.

    See units.py and logarithmic.py for usage.
    Nc             C   s   | j || dS )N)Zphysical_unitZfunction_unit)Z_function_unit_class)selfZunit r   ;lib/python3.7/site-packages/astropy/units/function/mixin.py__call__   s    zFunctionMixin.__call__)N)__name__
__module____qualname____doc__r   r   r   r   r   r      s   r   c               @   s   e Zd ZdS )IrreducibleFunctionUnitN)r	   r
   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdS )RegularFunctionUnitN)r	   r
   r   r   r   r   r   r      s   r   N)Zastropy.units.corer   r   r   r   r   r   r   r   r   <module>   s   