+
    ^¸kO  ã                   ó$   € R t ^ RIt^ RItRR ltR# )zICalculate masked local-contrast profiles without claiming physical depth.Nc                ó�  € \        V \        P                  4      '       d_   V P                  ^8w  gN   V P                  ^ ,          ^8  g6   \        P
                  ! V P                  \        P                  4      '       g   \        R4      h\        P                  ! V 4      P                  4       '       d$   \        V\        \        34      '       d   V^ 8:  d   \        R4      h\        V\        4      '       d	   V'       g   \        R4      hV F…  p\        V\        P                  4      '       dZ   VP                  \        P                  8w  g;   VP                  V P                  R,          8w  g   VP                  4       '       d   K|  \        R4      h	  V  Uu. uFV  p\         P"                  ! \         P$                  ! VP'                  R4      \         P(                  ^R7      ^,          RV4      NKX  	  ppV UUu. uF1  q5 Uu. uF"  p\        Wc,          P+                  4       4      NK$  	  upNK3  	  upp# u upi u upi u uppi )	zÏMean smoothed squared Laplacian per plane and 2D mask.

The provided masks may be oracle references; the caller must label their
provenance. Contrast peaks can reflect background, registration or artifacts.
u   Expected numeric ZÃ—YÃ—X planeszInvalid values or sigmazExpected masks:é   NNz(Expected nonempty matching boolean masksÚfloat32)Úksize)é    r   )Ú
isinstanceÚnpÚndarrayÚndimÚshapeÚ
issubdtypeÚdtypeÚnumberÚ
ValueErrorÚisfiniteÚallÚintÚfloatÚlistÚbool_ÚanyÚcv2ÚGaussianBlurÚ	LaplacianÚastypeÚCV_32FÚmean)ÚplanesÚmasksÚsigmaÚmÚpÚenergyÚes   &&&    ÚG/home/mchadwick/src/ansp/diatom-research/diatom_pilot/focal_profiles.pyÚfocus_profilesr%      s«  € ô 	�6œ"Ÿ*™*×%Ò%¨¯©°a¬¸6¿<¹<È½?È1Ô;LÔTV×TaÒTaÐbh×bnÑbnÔoq×oxÑox×TyÒTyô  AKð  Lmó  Anð  {nÜ
�Š�FÓ×Ñ×!Ò!¬°E¼3¼u¸+×)FÒ)FÈ%ÐQRÌ(ÔYcÐd}ÓY~ÐS~Ü�5œ×Ò§e´*Ð=MÓ2NÐ,NÛ
€QÜ	�A”b—j‘j×	!Ò	! Q§W¡W¬b¯h©hÔ%6¸!¿'¹'À6Ç<Á<ÐPRÕCSÔ:SÐ[\×[`Ñ[`×[bÔ[bÔisð  u_ó  j`ð  d`ñ áioÓpÑioÐdeŒ×	Ò	œ#Ÿ-š-¨¯©°Ó(;¼C¿J¹JÈQÔOÐQRÕRÐSXÐY^Ö	_Ñio€ÐpÙ7<Ô=±u°! fÓ	-¡f Œ%�•—	‘	“Ö
¡fÔ	-±uÒ=Ð=ùò 	qùÚ	-ùÓ=s   ÆAH8Ç=IÈ(H=È-IÈ=I)é   )Ú__doc__r   Únumpyr   r%   © ó    r$   Ú<module>r+      s   ðÙ OÛ 
Û ö>r*   