Author Topic: Pixelmath errors calling keyword_value  (Read 2025 times)

Offline vogelito

  • Newcomer
  • Posts: 10
Pixelmath errors calling keyword_value
« on: 2017 November 13 07:56:11 »
Can anyone help- what am I doing wrong in PixelMath?  I'm getting "Error: Unknown function identifier" when trying to call "keyword_value" (or "keyword_defined". Or for that matter,  "property_defined" and "property_value").  I've double-clicked from the syntax list in the Expression Editor to be sure I haven't mistyped.

RGB/K expression:    h11 = keyword_value( DSC_4091_crop_CFA0 , ALIGNH11 )
Symbols:                   h11
Process Console output:
Quote
PixelMath: Processing view: DSC_4091_crop_CFA0
*** Error: Unknown function identifier:
h11 = keyword_value( DSC_4091_crop_CFA0 , ALIGNH11 )
......^
<* failed *>

I've tried all sorts of things:
   h11 = keyword_value( DSC_4091_crop_CFA0 , "ALIGNH11" )
   h11 = keyword_value( DSC_4091_crop_CFA0 , 'ALIGNH11' )
   h11 = keyword_value( DSC_4091_crop_CFA0 , FITSKeyword name="ALIGNH11" )
   h11 = keyword_value( ALIGNH11 )
   h11 = notARealFunction( ALIGNH11 )
   keywordvalue, keywordValue, keyword_Value, ...
And they all give the same error.  (But all other "Symbol Definition"s work fine except for 4 listed at the top.)

Any ideas?  Thanks,
Mike  (Windows, latest versions, fwiw)