U
    e»{j­  ã                   @   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)ÚselfÚunit© r   ú[/var/www/html/bwave/python/venv/lib/python3.8/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 )ÚRegularFunctionUnitNr   r   r   r   r   r      s   r   N)Zastropy.units.corer   r   r   r   r   r   r   r   r   Ú<module>   s   