
    |Le                        d dl mZ d dlmZ d dlmZmZ  G d de          Z G d de          Zer$e	e	e         e	e
         e	e         e	e         f         Zdd
ZdS )    )annotations)Enum)
NamedTupleTYPE_CHECKINGc                  &    e Zd ZdZdZdZdZdZdZdS )AntialiasCombination                  N)	__name__
__module____qualname__SUM_1AGGSUM_2AGGMINMAXFIRSTLAST     4lib/python3.11/site-packages/datashader/antialias.pyr   r      s,        HH
C
CEDDDr   r   c                  D    e Zd ZU dZded<   ded<   dZded<   dZded	<   d
S )AntialiasStage2zMConfiguration for second-stage combination of a single antialiased reduction.r   combinationfloatzeroFbooln_reductioncategoricalN)r   r   r   __doc____annotations__r!   r"   r   r   r   r   r      sO         WW%%%%KKKKKr   r   antialias_stage_2UnzippedAntialiasStage2 | Nonec                    | sdS | d         }d}|D ]6}|t           j        t           j        t           j        t           j        fv rd} n7d}|D ]}|t           j        k    rd} n||fS )z<Information used to perform the correct stage 2 aggregation.)FFr   FT)r   r   r   r   r   r   )r%   aa_combinationsuse_2_stage_aggcomb	overwrites        r   two_stage_aggr,      s     |'*O
 O  (13G3K(.0D0IK K K"OEK I  '000IE 1 o%%r   N)r%   r&   )
__future__r   enumr   typingr   r   r   r   tupler   r    UnzippedAntialiasStage2r,   r   r   r   <module>r2      s    " " " " " "       , , , , , , , ,
    4       j     Se()5<teDkQR & & & & & &r   