Measure exact the alpha.phase 1 level

I’m not getting this with the Programmable Filter

The pipline browser looks like this:


With an ExtractSelection at the bottom, and a blue rectangle.
I write your script in the ProgrammableFilter, but i got this error message:

NameError: global name 'alphaphase1' is not defined
Traceback (most recent call last):
File "<stron>", line 24, in <modul>
File"<strin>" line 4, un RequestData

if i tried the script, without the * (alphaphase1 >= 0.8), i got no error at this point.
Then the error comes along with the PythonAnnotation, i got a hugh error message:

best regards
Kai