
    IR-e;                     D    d dgZ  G d d           Z G d de          ZdS )BaseTransformCompositeTransformc                       e Zd ZdZd ZdS )r   z}
    A transformation object.

    This is used to construct transformations such as scaling, stretching, and
    so on.
    c                 "    t          ||           S N)r   )selfothers     ?lib/python3.11/site-packages/astropy/visualization/transform.py__add__zBaseTransform.__add__   s    !%...    N)__name__
__module____qualname____doc__r
    r   r	   r   r      s-         / / / / /r   c                   @     e Zd ZdZ fdZddZed             Z xZS )r   a  
    A combination of two transforms.

    Parameters
    ----------
    transform_1 : :class:`astropy.visualization.BaseTransform`
        The first transform to apply.
    transform_2 : :class:`astropy.visualization.BaseTransform`
        The second transform to apply.
    c                 d    t                                                       || _        || _        d S r   )super__init__transform_1transform_2)r   r   r   	__class__s      r	   r   zCompositeTransform.__init__   s/    &&r   Tc                 Z    |                      |                     ||          |          S )N)clip)r   r   )r   valuesr   s      r	   __call__zCompositeTransform.__call__$   s.     0 0d 0 C C$OOOr   c                 V    |                      | j        j        | j        j                  S r   )r   r   inverser   )r   s    r	   r   zCompositeTransform.inverse'   s"    ~~d.68H8PQQQr   )T)	r   r   r   r   r   r   propertyr   __classcell__)r   s   @r	   r   r      s|        	 	' ' ' ' '
P P P P R R XR R R R Rr   N)__all__r   r   r   r   r	   <module>r!      sx    0
1	/ 	/ 	/ 	/ 	/ 	/ 	/ 	/R R R R R R R R R Rr   