Thanks! I was languishing in version 4…
just upgraded ATK quark to the current version, excited to try out the Hoa stuff, but evaluating
a = HoaMatrixEncoder.newDirection()
throws the error below: any pointers? (most recent SC - Mac-Intel Big Sur)
ERROR: Message 'thresh2' not understood.
Perhaps you misspelled 'thresh', or meant to call 'thresh2' on another receiver?
RECEIVER:
Float 1.000000 FFFFFFFF 3FEFFFFF
ARGS:
Float 0.000000 E826D695 3E112E0B
PATH: /private/tmp/scd.scd
CALL STACK:
DoesNotUnderstandError:reportError
arg this = <instance of DoesNotUnderstandError>
Nil:handleError
arg this = nil
arg error = <instance of DoesNotUnderstandError>
Thread:handleError
arg this = <instance of Thread>
arg error = <instance of DoesNotUnderstandError>
Object:throw
arg this = <instance of DoesNotUnderstandError>
Object:doesNotUnderstand
arg this = 1.0
arg selector = 'thresh2'
arg args = [*1]
HoaLm:sph
arg this = <instance of HoaLm>
arg theta = 0.0
arg phi = 1.5707963267949
var l = 0
var m = 0
var mabs = 0
var res = 1.0
< FunctionDef in Method Collection:collectAs >
arg elem = [*2]
arg i = 0
ArrayedCollection:do
arg this = [*9]
arg function = <instance of Function>
var i = 0
Collection:collectAs
arg this = [*9]
arg function = <instance of Function>
arg class = <instance of Meta_Array>
var res = [*0]
< FunctionDef in Method HoaMatrixEncoder:initBeam >
arg thetaPhi = [*2]
< FunctionDef in Method Collection:collectAs >
arg elem = [*2]
arg i = 0
ArrayedCollection:do
arg this = [*1]
arg function = <instance of Function>
var i = 0
Collection:collectAs
arg this = [*1]
arg function = <instance of Function>
arg class = <instance of Meta_Array>
var res = [*0]
HoaMatrixEncoder:initBeam
arg this = <instance of HoaMatrixEncoder>
arg beamShape = 'basic'
arg match = nil
var hoaOrder = <instance of HoaOrder>
var beamWeights = [*3]
var degreeSeries = [*3]
var norm = 1.0
< closed FunctionDef > (no arguments or variables)
Interpreter:interpretPrintCmdLine
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "a=HoaMatrixEncoder.newDirect..."
var doc = <instance of Document>
var ideClass = nil
...
^^ ERROR: Message 'thresh2' not understood.
Perhaps you misspelled 'thresh', or meant to call 'thresh2' on another receiver?
RECEIVER: 1.0